12345678910111213141516171819 |
- Module(body=[Assign(targets=[Name(id='x',
- ctx=Store())],
- value=Num(n=1)),
- While(test=Compare(left=Name(id='x',
- ctx=Load()),
- ops=[Lt()],
- comparators=[Num(n=3)]),
- body=[Break(),
- Assign(targets=[Name(id='x',
- ctx=Store())],
- value=BinOp(left=Name(id='x',
- ctx=Load()),
- op=Add(),
- right=Num(n=1)))],
- orelse=[]),
- Print(dest=None,
- values=[Name(id='x',
- ctx=Load())],
- nl=True)])
|