Capgemini Interview Question

About python sets and lists