Nan-reflexivity
We'll cover the following...
Let’s see what Python thinks about NaN and infinity.
1.
What do you think about these assignments?
Press + to interact
a = float('inf')b = float('nan')c = float('-iNf') # These strings are case-insensitived = float('nan')
Let’s observe some behaviors ...