Python3内置函数 https://www.runoob.com/python3/python3-built-in-functions.html int https://www.runoob.com/python3/python3-number.html str https://www.runoob.com/python3/python3-string.html list https://www.runoob.com/python3/python3-list.html tuple https…
abs()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, its magnitude is returned.返回一个数的绝对值.参数可以是整数或浮点数..如果参数是复数,则返回它的数量级. all(iterable) Return True if all elements of…
filter(function or None, iterable) --> filter object Return an iterator yielding those items of iterable for which function(item) is true. If function is None, return the items that are true. 函数有两个参数,第一个可以为一个函数,或者None,第二个参数为一个可迭代对象 保返回真值(非零,非空)返回值为一个…
认识reversed单词 reversed 英[rɪ'vɜ:st] 美[rɪ'vɜst] adj. 颠倒的:相反的:(判决等)撤销的 v. 颠倒(reverse的过去式和过去分词):翻转 help(reversed) Help on class reversed in module builtins: class reversed(object) | reversed(sequence) -> reverse iterator over values of the sequence | | Re…