a = float('inf')
b = float("-inf")
print(a,b,1<a)
# 输出结果:
# inf -inf True
猜你喜欢:👇🏻
⭐【Python】与或非的符号表示
⭐【Python】保留小数点后两位精度
⭐【Python】牛客的输入输出到底怎么整??
a = float('inf')
b = float("-inf")
print(a,b,1<a)
# 输出结果:
# inf -inf True
猜你喜欢:👇🏻
⭐【Python】与或非的符号表示
⭐【Python】保留小数点后两位精度
⭐【Python】牛客的输入输出到底怎么整??