数学相关内置函数

 

描述:

abs函数的作用:取一个数的绝对值 

 

print(abs(100))   # 100
print(abs(-100))  # 100

 

  

posted @ 2021-04-02 16:04  御姐玫瑰  阅读(33)  评论(0编辑  收藏  举报
levels of contents