def function_with_yield():
    for i in range(10):
        yield i


def testing():
    a = function_with_yield()
    for i in range(100):
        print(a.next())


testing()

e077fbde06d931a1f5f157876c8c80d02b45adc7
<mask token>

def function_with_yield():
    for i in range(10):
        yield i


<mask token>

def function_with_yield():
    for i in range(10):
        yield i


def testing():
    a = function_with_yield()
    for i in range(100):
        print(a.next())


<mask token>

def function_with_yield():
    for i in range(10):
        yield i


def testing():
    a = function_with_yield()
    for i in range(100):
        print(a.next())


testing()
