DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python checking if something is equal to NaN
# Test to see if it is equal to itself def isNaN(num): return num != num
Source by docs.python.org #
PREVIOUS
NEXT
Tagged:
#python
#checking
#equal
#NaN
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit