Citi interview question

questions regards python list and dictionaries