🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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)
  1. A.True
  2. B.False
  3. C.None
  4. 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 →