CBSE Class 10 Computer Applications Question 9 of 31

Python Revision — Question 7

Back to all questions
7
Question

Question 7

What will be the output of following code ?

print(8 >= 8)
  1. 8 >= 8
  2. False
  3. True
  4. Error
Answer

True

Reason — The given expression (8 >= 8) results in true as 8 is equal to 8. Thus, 'true' is printed on the output terminal.