Tredence interview question

Questions regarding lists and dictionary in python