随笔分类 -  python 内置函数

摘要:英文文档: pow(x, y[, z])Return x to the power y; if z is present, return x to the power y, modulo z (computed more efficiently than pow(x, y)% z). The two 阅读全文
posted @ 2017-12-29 14:25 lincappu 阅读(668) 评论(0) 推荐(0) 编辑
摘要:英文文档: min(iterable, *[, key, default]) min(arg1, arg2, *args[, key]) Return the smallest item in an iterable or the smallest of two or more arguments. 阅读全文
posted @ 2017-12-29 14:13 lincappu 阅读(278) 评论(0) 推荐(0) 编辑
摘要:英文文档: max(iterable, *[, key, default]) max(arg1, arg2, *args[, key]) Return the largest item in an iterable or the largest of two or more arguments. I 阅读全文
posted @ 2017-12-29 14:09 lincappu 阅读(1565) 评论(0) 推荐(0) 编辑
摘要:英文文档: divmod(a, b) Take two (non complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using inte 阅读全文
posted @ 2017-12-29 12:56 lincappu 阅读(472) 评论(0) 推荐(0) 编辑
摘要:英文文档: abs(x) Return the absolute value of a number. The argument may be an integer or a floating point number. If the argument is a complex number, it 阅读全文
posted @ 2017-12-29 12:36 lincappu 阅读(760) 评论(1) 推荐(0) 编辑