CBSE Class 11 Computer Science Question 33 of 173

Data Handling — Question 18

Back to all questions
18
Question

Question 18

What will be the value of y after following code fragment is executed ?

x = 10.0
y = (x < 100.0) and x >= 10
  1. 110
  2. True ✓
  3. False
  4. Error.
Answer