← Quiz: Python Operators and Input: all 14 questions
Quiz: Python Operators and Input · Question 14 of 14
What does this print? (code)
What does this print?
print(True and not False or False)
- A.True
- B.False
- C.None
- D.An error
Answer & explanation
Correct answer: True
not runs first (not False = True), then and (True and True = True), then or (True or False = True).
Can you get the rest right without peeking?
Take the timed Quiz: Python Operators and Input quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →