An else branch runs when no test above it is true.
Circle one: True False
The temperature is 20. The program runs: if temperature < 32, print a snow jacket warning. What prints?
A chain has an if, an elif and an else. How many branches run in one pass?
A grade chain tests A at 90, B at 70, else Fail. The mark is 76. What prints?
A program labels a number positive, negative or neutral with a chain. The number is -5. What prints?
Why must the A test sit above the B test in a grade chain?
This code sets ok: if users > 100, ok = True, else ok = False. Which single line does the same job?
A chain tests mark >= 70 before mark >= 90, and a 93 prints B. What is the fix?