英文文档: next(iterator[, default]) Retrieve the next item from the iterator by calling its __next__() method. If default is given, it is returned if the iterator is exhausted, otherwise StopIteration is raised. 说明: 1. 函数必须接收一个可迭代对象参数,每次调用的时候,返回可迭代对象的下一个…
英文文档: len(s) Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set). 返回对象的长度 说明: 1. 返回对象的长度,参数可以是序列(比如字符串.字节数组.元…