bash-2.05b$ cat float.py #!/usr/bin/python A = 36.8 B = 36.6 if( A >= B + 0.2 ): print "true" else: print "false" bash-2.05b$ ./float.py false