Source Code:
(back to article)
import math x = float('nan') if math.isnan(x): print('x is NaN')
Result:
Report an issue