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
Answer and explanation
Concise answer
True
Why this is correct
The first bracketed expression is False. The second is True because `not False` is True. False OR True gives True.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
