123456789101112131415161718192021222324252627282930313233343536373839 |
- Module(body=[FunctionDef(name='f',
- args=arguments(args=[Name(id='n',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Assign(targets=[Name(id='i',
- ctx=Store())],
- value=Num(n=0)),
- While(test=Compare(left=Name(id='i',
- ctx=Load()),
- ops=[Lt()],
- comparators=[Name(id='n',
- ctx=Load())]),
- body=[Expr(value=Yield(value=Name(id='i',
- ctx=Load()))),
- Expr(value=Yield(value=BinOp(left=Name(id='i',
- ctx=Load()),
- op=Mult(),
- right=Num(n=10)))),
- AugAssign(target=Name(id='i',
- ctx=Store()),
- op=Add(),
- value=Num(n=1))],
- orelse=[])],
- decorator_list=[]),
- For(target=Name(id='i',
- ctx=Store()),
- iter=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=10)],
- keywords=[],
- starargs=None,
- kwargs=None),
- body=[Print(dest=None,
- values=[Name(id='i',
- ctx=Load())],
- nl=True)],
- orelse=[])])
|