79412084

Date: 2025-02-04 14:51:15
Score: 3
Natty:
Report link

To compare floating point values, in Python 3.5 and later you might also want to consider math.isclose, in which you can also plug an epsilon for absolute tolerance if necessary.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hubert Holin