БГ
Size: a a a
БГ
E
БГ
py3
x = float('inf')
y = float('-inf')
print(type(x), x)
print(type(y), y)<class 'float'> inf
<class 'float'> -inf
E
py3
x = float('inf')
y = float('-inf')
print(type(x), x)
print(type(y), y)<class 'float'> inf
<class 'float'> -inf
E
b
b
БГ
E
E
b
БГ
py3
print(float('inf')+float('-inf'))nan
b
БГ
A
b
БГ
float('nan')A
b