Most languages have a NaN constant you can use to assign a variable the value NaN. Can python do this without using numpy?
You can do float('nan') to get NaN.
float('nan')