Python学习笔记——如何获得数值类型的最大值和最小值(表示范围)

it2023-08-18  73

1 获得float类型的最大值

可以使用下面的代码获得float类型的“inf表示”,

float('inf')

 

最新回复(0)