Return elements from the iterable until it is exhausted. Then repeat the sequence indefinitely.
itertools/cycle
cycle