Vergleichen Sie, ob 2 Zahlen relativ gleich sind
from math import isclose
a = 1.0
b = 1.00000001
isclose(a, b, rel_tol=1e-9, abs_tol=0.0)
Anxious Alligator
from math import isclose
a = 1.0
b = 1.00000001
isclose(a, b, rel_tol=1e-9, abs_tol=0.0)