check if a value is equal to NaN code example
Example: python checking if something is equal to NaN
# Test to see if it is equal to itself
def isNaN(num):
return num != num
# Test to see if it is equal to itself
def isNaN(num):
return num != num