Nokia Interview Question

About data structures in python