print(float('inf'))print(float('1_000.123_4')) # 1000.1234print(float('nan'))
Standard input is empty
inf 1000.1234 nan
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!