#itertools_repeat.py import itertools for x in itertools.repeat('Python', times=5): print(x)