12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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()))),
- Assign(targets=[Name(id='i',
- ctx=Store())],
- value=Num(n=100)),
- Expr(value=Yield(value=Name(id='i',
- ctx=Load()))),
- 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=50)],
- keywords=[],
- starargs=None,
- kwargs=None),
- body=[Print(dest=None,
- values=[Name(id='i',
- ctx=Load())],
- nl=True)],
- orelse=[])])
|