import math print "Booleans and Integers" print 1 + True print 2 - True print 3 * False print 4 / True print 5 % True print 6 ** False print "Booleans and Floats" print 1.5 + True print 2.5 - True print 3.5 * False print 4.5 / True print 5.5 % True print 6.5 ** False print "Booleans and Longs" print 1L + True print 2L - True print 3L * False print 4L / True print 5L % True print 6L ** False print "Booleans with Math Module" print math.fabs(True) print math.cos(True)