# Generators


def repeater(value):
    while True:
        yield value

def repeat_three_times(value):
    yield value
    yield value
    yield value

if __name__ == '__main__':
    # for x in repeater('Hi'):
    #     print(x)
    obj = repeater('hey')
    print(obj.__next__())
    print(next(obj))

    for x in repeat_three_times('hou'):
        print(x)
0b62cb1c19d6b1ab85cd314d407acc390dd4812c
<mask token>

<mask token>


def repeat_three_times(value):
    yield value
    yield value
    yield value


<mask token>

def repeater(value):
    while True:
        yield value


def repeat_three_times(value):
    yield value
    yield value
    yield value


<mask token>

def repeater(value):
    while True:
        yield value


def repeat_three_times(value):
    yield value
    yield value
    yield value


if __name__ == '__main__':
    obj = repeater('hey')
    print(obj.__next__())
    print(next(obj))
    for x in repeat_three_times('hou'):
        print(x)

# Generators


def repeater(value):
    while True:
        yield value

def repeat_three_times(value):
    yield value
    yield value
    yield value

if __name__ == '__main__':
    # for x in repeater('Hi'):
    #     print(x)
    obj = repeater('hey')
    print(obj.__next__())
    print(next(obj))

    for x in repeat_three_times('hou'):
        print(x)