fork download
  1. a = 1.2
  2. b = 1.0
  3. c = 0.2
  4.  
  5. print(a - b == c)
  6. print(a * 10 - b * 10 == c * 10)
Success #stdin #stdout 0.01s 27712KB
stdin
Standard input is empty
stdout
False
True