Quiz on Nested If Statements in Python