Algoscale Interview Question

some logical reasoning questions. list and tuples scope in python logical exercise