Capgemini Interview Question

simple question about list comprehension in python