Catch the true tests
Exercise and reference answers
- Items
- Matches the category
- Yes
- Item
- x == 5
- Matches the category
- Yes
- Item
- a > b
- Matches the category
- Yes
- Item
- not done
- Matches the category
- Yes
- Item
- p and q
- Matches the category
- No
- Item
- x = 5
- Matches the category
- No
- Item
- print(x)
- Matches the category
- No
- Item
- y += 1
- Matches the category
- No
- Item
- import os
- Category
- Python
- Instructions
- Catch the things that give True or False. Let the rest fall.
Explanation
_Source: OpenStax Introduction to Python Programming, Chapter 4._