Deloitte interview question

Knowledge on python, data structures