Bandingkan jika 2 angka relatif sama

from math import isclose
a = 1.0
b = 1.00000001
isclose(a, b, rel_tol=1e-9, abs_tol=0.0)
Anxious Alligator