ID EN
Math

isclose

Python 3.11

Return True if the values a and b are close to each other and False otherwise.

Syntax

PYTHON
math.isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0)