Exam-style question
Try this first
In Python 3, what is the result of `(True and False) or (not False)`?.
- A.True
- B.False
- C.The expression is invalid
- D.The result depends on the order of evaluation
Model answer
What a good answer should say
- True
Explanation
Why this works
The first bracketed expression is False. The second is True because `not False` is True.
False OR True gives True.
Common mistake
No common mistake is linked to this question yet.
