摘要: Python3 内置函数 abs(x) 返回一个数的绝对值。参数可以是一个整数或者一个浮点数。如果参数是一个复数,那么将返回它的模。 >>> abs(-123456) 123456 >>> abs(123456) 123456 all(iterable) 当 iterable 中所有元素都为 Tru 阅读全文
posted @ 2017-03-31 23:54 ProfiBus 阅读(1168) 评论(0) 推荐(0) 编辑