Get your own Python server Result Size: 625 x 565
x
 
#Import math Library
import math  
#compare the closeness of two values
print(math.isclose(1.233, 1.4566))
print(math.isclose(1.233, 1.233))
print(math.isclose(1.233, 1.24))
print(math.isclose(1.233, 1.233000001))
False
True
False
True