def g(n):
    yield from (x ** 2 for x in range(n))


for x in g(4):
    print(x)

84cde648595962c54056acb7e7ba9f7b9890b848
<mask token>

def g(n):
    yield from (x ** 2 for x in range(n))


<mask token>

def g(n):
    yield from (x ** 2 for x in range(n))


for x in g(4):
    print(x)
