1# How to use it:
2# repeat(var, amount)
3
4# repeat() is basically like range() but it gives an extra arg for a var
5
6from itertools import repeat
7
8for x in repeat("Spam? Or Eggs?", 3):
9 print(x)
10> "Spam? Or Eggs?"
11> "Spam? Or Eggs?"
12> "Spam? Or Eggs?"
13
14