Algoscale interview question

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