正在加载图片...
Iterators A container can provide an iterator that provides access to its elements in order iter(iterable):Return an iterator over the elements of an iterable value >>5=[3,4,5] next(iterator):Return the next element in an iterator nIterators 4 A container can provide an iterator that provides access to its elements in order iter(iterable): next(iterator): Return an iterator over the elements of an iterable value Return the next element in an iterator >>> s = [3, 4, 5]
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有