What is the output of following code ?
print 8 >= 8
2 Likes
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'.
a >= b
Answered By
3 Likes
Which of these is not a Python data type ?
In the following code a = '5'. a is a …………… :
a = '5'
print "8 >= 8"
What will be the output of following code ?
print(8 >= 8)