Is there any difference between itertools.repeat(n) and itertools.cycle(n)? As it seems, they produce the same output. Is one more efficient to use in a situation where I need an infinite loop of some element? Continue reading...