Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='x', ctx=Param())], vararg=None, kwarg=None, defaults=[]), body=[Expr(value=Yield(value=Call(func=Name(id='len', ctx=Load()), args=[Name(id='x', ctx=Load())], keywords=[], starargs=None, kwargs=None))), Expr(value=Yield(value=Call(func=Name(id='len', ctx=Load()), args=[Name(id='x', ctx=Load())], keywords=[], starargs=None, kwargs=None)))], decorator_list=[]), Assign(targets=[Name(id='g', ctx=Store())], value=Call(func=Name(id='foo', ctx=Load()), args=[Call(func=Name(id='range', ctx=Load()), args=[Num(n=5)], keywords=[], starargs=None, kwargs=None)], keywords=[], starargs=None, kwargs=None)), Print(dest=None, values=[Call(func=Attribute(value=Name(id='g', ctx=Load()), attr='next', ctx=Load()), args=[], keywords=[], starargs=None, kwargs=None)], nl=True), Assign(targets=[Name(id='len', ctx=Store())], value=Lambda(args=arguments(args=[Name(id='y', ctx=Param())], vararg=None, kwarg=None, defaults=[]), body=Num(n=8))), Print(dest=None, values=[Call(func=Attribute(value=Name(id='g', ctx=Load()), attr='next', ctx=Load()), args=[], keywords=[], starargs=None, kwargs=None)], nl=True)])