Friday 2 August 2013

working with comparetor in boolean

10==11-1
print 10==11-1

20==19+1
print 20==19+1

15==3*5
print 15==3*5

print 10==20/2

print 3!=8

print 25>7
print 2<8

print 2>=0

print 3<=6

print not not not False

print False and False

print -3==-3 and 5>=10

print 20<=-3 or False

print -10 or -10
100 or 100
print 3>7 or 5>15

print not 5*5<25

print not 8/2>4

print False or not True and True

print False and not True or True

print True and not (False or False)

print not not True or False and not True




















No comments:

Post a Comment