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