DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python nearly equal
from math import isclose a = 1.0 b = 1.00000001 assert isclose(a, b, abs_tol=1e-8)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#equal
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit