Quiz: Python tweaks