Tredence Interview Question

Questions regarding lists and dictionary in python