Exam MCQ 2
MCQs test exact output and tiny traps — indent, == vs =, list vs tuple, mutable default args, is vs ==.
How to practise: read the snippet, write the output on paper, then run. If wrong, note the trap. That is better than mugging 200 random questions.
Exam MCQ 2 — output — False, True, True. Empty list is falsy; [0] is truthy.
Exam tip
Dry-run on paper before you look at options.