def repeat(l):
    while True:
        for el in l:
            yield el


test = repeat('huita')

for _ in range(25):
    print(next(test))