🎙 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 9 of 14

What does this print? (code)

What does this print?

print(10 != 10.0, 3 < 5 < 4)
  1. A.True True
  2. B.False False
  3. C.True False
  4. D.False True
Answer & explanation

Correct answer: False False

10 equals 10.0; the chain 3 < 5 < 4 fails at 5 < 4.

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 →