12345678910111213141516171819202122232425 |
- Module(body=[Assign(targets=[Name(id='a',
- ctx=Store())],
- value=GeneratorExp(elt=Num(n=1),
- generators=[comprehension(target=Name(id='x',
- ctx=Store()),
- iter=Call(func=Name(id='range',
- ctx=Load()),
- args=[Num(n=3)],
- keywords=[],
- starargs=None,
- kwargs=None),
- ifs=[])])),
- Print(dest=None,
- values=[Name(id='a',
- ctx=Load())],
- nl=True),
- For(target=Name(id='i',
- ctx=Store()),
- iter=Name(id='a',
- ctx=Load()),
- body=[Print(dest=None,
- values=[Name(id='i',
- ctx=Load())],
- nl=True)],
- orelse=[])])
|