def mathtricks2(): for i in range (5,11): x = 3**i print " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" print " 3 **i = x = ", x, "when i = ", i print "We expect x/x to be 1.0 and if we display x/x we see ", x * (1.0/x) print "BUT 1 - x/x = ", 1 - x * (1.0/x) mathtricks2()