随笔分类 - 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
阅读全文
摘要:英文文档: min(iterable, *[, key, default]) min(arg1, arg2, *args[, key]) Return the smallest item in an iterable or the smallest of two or more arguments.
阅读全文
摘要:英文文档: 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
阅读全文
摘要:英文文档: 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
阅读全文
摘要:英文文档: 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
阅读全文