In [1]:
import math
In [2]:
print(math.inf)
In [3]:
print(type(math.inf))
In [4]:
print(float('inf') == math.inf)