Limitations

Report a typo

Getting back to real numbers, check if the input float is neither an infinity value nor a NaN.

Assign the result to the variable check.

Write a program in Python 3
import math


real_number = float(input())
# change the next line
check = ...
___

Create a free account to access the full topic