Cognizant Interview Question

Tuples and lists in python