主页
Python
Python math.fabs() 方法
demo_ref_math_fabs
运行 ❯
×
更改方向
保存代码
更改主题
#Import math Library import math #Remove - sign of given number print(math.fabs(-66.43)) print(math.fabs(-7))
66.43
7.0