Citi Interview Question

questions regards python list and dictionaries