# Author: James Tam # Version: June, 2014 (Employs an Epsilon) EPSILON = 0.00001 a = 0.15 + 0.15 b = 0.2 + 0.1 if (abs((a - b)/b) < EPSILON): print("Equal: the different is less than a small number") else: print("Not equal")