CBSE Class 10 Computer Applications
Question 7 of 31
Python Revision — Question 5
Back to all questions 5
Question Question 5
What is the output of following code ?
print 8 >= 8
- 8 >= 8
- False
- True
- Error
True
Reason — a >= b compares a and b and returns true if a is greater than or equal to b, else returns false. Since 8 is equal to 8, the given expression results in 'true'.