itertools.cycle¶
-
class
itertools.cycle¶ cycle(iterable) –> cycle object
Return elements from the iterable until it is exhausted. Then repeat the sequence indefinitely.
itertools.cycle¶itertools.cycle¶cycle(iterable) –> cycle object
Return elements from the iterable until it is exhausted. Then repeat the sequence indefinitely.