15 lines
244 B
Python
15 lines
244 B
Python
|
import math
|
||
|
print(1 < 1.2)
|
||
|
print(1 > 1.2)
|
||
|
print(1 < math.inf)
|
||
|
print(1 > math.inf)
|
||
|
print(1 < math.nan)
|
||
|
print(1 > math.nan)
|
||
|
print('--')
|
||
|
print(1.2 > 1)
|
||
|
print(1.2 < 1)
|
||
|
print(math.inf > 1)
|
||
|
print(math.inf < 1)
|
||
|
print(math.nan > 1)
|
||
|
print(math.nan < 1)
|