t103.trans 1.7 KB

123456789101112131415161718192021
  1. Module(body=[Print(dest=None,
  2. values=[ListComp(elt=BinOp(left=Name(id='x',
  3. ctx=Load()),
  4. op=Mult(),
  5. right=Name(id='x',
  6. ctx=Load())),
  7. generators=[comprehension(target=Name(id='x',
  8. ctx=Store()),
  9. iter=Call(func=Name(id='range',
  10. ctx=Load()),
  11. args=[Num(n=10)],
  12. keywords=[],
  13. starargs=None,
  14. kwargs=None),
  15. ifs=[Compare(left=BinOp(left=Name(id='x',
  16. ctx=Load()),
  17. op=Mod(),
  18. right=Num(n=2)),
  19. ops=[Eq()],
  20. comparators=[Num(n=0)])])])],
  21. nl=True)])