Friday, 2 August 2013

working with comparators and Boolean operators

learning comparators and Boolean operators
print 10==15-5
print 14==12+2
print 4==4*1
print 10==20/2

print 20!=30
print 15>6
print 40<80
print 30<=30
print 20<=19+1

print not not not False
print False and False
print +3==+3 and 6>20
print 11<-2 or False
print -10 or-10
print 3>7 or 5>15

print not 50*70<3

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