Python - abs vs fabs

前端 未结 4 776
无人共我
无人共我 2021-01-30 07:44

I noticed that in python there are two similar looking methods for finding the absolute value of a number:

First

abs(-5)

Second

4条回答
提交回复
热议问题