print(float('nan') == float('nan')) # example 1nan=float('nan') # example 2print(nan == nan)
Standard input is empty
False False
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!