t21.trans 906 B

12345678910111213141516171819
  1. Module(body=[Assign(targets=[Name(id='x',
  2. ctx=Store())],
  3. value=Num(n=1)),
  4. While(test=Compare(left=Name(id='x',
  5. ctx=Load()),
  6. ops=[Lt()],
  7. comparators=[Num(n=3)]),
  8. body=[Break(),
  9. Assign(targets=[Name(id='x',
  10. ctx=Store())],
  11. value=BinOp(left=Name(id='x',
  12. ctx=Load()),
  13. op=Add(),
  14. right=Num(n=1)))],
  15. orelse=[]),
  16. Print(dest=None,
  17. values=[Name(id='x',
  18. ctx=Load())],
  19. nl=True)])