Python 函数

来源:互联网 发布:淘宝流失金额怎么办 编辑:程序博客网 时间:2024/06/06 16:39

一、hypot:返回欧几里德范数(sqrt(x*x + y*y))

>>> from math import hypot>>> hypot(3,4)5.0
原创粉丝点击