Lesson 8 Quiz: Booleans and Comparisons

Self-check only. Your answers stay in your browser — nothing is submitted or graded. Pick an answer for each question, then press Check my answers to see the answer key and explanations.

1. What values can a boolean hold, and how are they spelled in Python?

2. What does `10 != 9` ask, and what is the answer?

3. What is the difference between `=` and `==`?

4. In `old_enough = age >= 10`, what is stored in `old_enough`, and why?

5. Why does lowercase `true` give an error?

← Back to Lesson 8 · Enroll free in the full course