True or false
If statement conditions are based on true or false values. You can either use true or false variables directly or do a test.
a = True
if a == True:
print "it is true"
if a:
print "it is also true"
In python true is written with a capital letter (as is false). You can store the results of tests into variables if you wish.
a = 70 b = 60 c = a < b if c: print "This" else: print "or this?"
Try the above code to move onto the next problem.
Output: (clear)











