Comparez si 2 nombres sont relativement égaux
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)