35 minutes. Instant-marked. Unlimited attempts. Each answer is marked as soon as you choose it, with an explanation. Nothing is saved in this course.
P1. What does print(6 == 6) display?
They are equal.
P2. Which symbol stores a value?
One equals sign assigns.
P3. The block under if runs when the condition is:
If True, run.
P4. With x = 3, what does if x > 5: print("A") else: print("B") display?
3 is not greater than 5.
P5. With score = 65, if score >= 80: A, elif score >= 60: B, else C displays:
First True is the elif.
P6. True and False is:
and needs both.
P7. not False is:
not reverses.
P8. For age >= 18, which age tests the boundary exactly?
18 is the edge.