In [1]:
5 > 2
Out[1]:
In [2]:
2 > 5
Out[2]:
In [3]:
print type(True)
print type(False)
In [4]:
if 5 > 2:
print "5 is grater than 2"
In [5]:
if 2 > 5:
print "5 is grater than 2"
In [6]:
if 2 > 5:
print "5 is grater than 2"
else:
print "2 is less than 5"
In [ ]: