import numpy as np
a=np.inf
print(type(a))
b=1233493274932
print(a>b,a<b)
<class 'float'>
True False
Process finished with exit code 0
import numpy as np
a=np.inf
print(type(a))
b=1233493274932
print(a>b,a<b)
<class 'float'>
True False
Process finished with exit code 0