t42.trans 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Module(body=[Assign(targets=[Name(id='t',
  2. ctx=Store())],
  3. value=ListComp(elt=ListComp(elt=BinOp(left=BinOp(left=Name(id='y',
  4. ctx=Load()),
  5. op=Mult(),
  6. right=Num(n=10)),
  7. op=Add(),
  8. right=Name(id='x',
  9. ctx=Load())),
  10. generators=[comprehension(target=Name(id='x',
  11. ctx=Store()),
  12. iter=Call(func=Name(id='range',
  13. ctx=Load()),
  14. args=[Num(n=0),
  15. Num(n=10)],
  16. keywords=[],
  17. starargs=None,
  18. kwargs=None),
  19. ifs=[])]),
  20. generators=[comprehension(target=Name(id='y',
  21. ctx=Store()),
  22. iter=Call(func=Name(id='range',
  23. ctx=Load()),
  24. args=[Num(n=0),
  25. Num(n=10)],
  26. keywords=[],
  27. starargs=None,
  28. kwargs=None),
  29. ifs=[])])),
  30. Print(dest=None,
  31. values=[Subscript(value=Subscript(value=Name(id='t',
  32. ctx=Load()),
  33. slice=Index(value=Num(n=2)),
  34. ctx=Load()),
  35. slice=Index(value=Num(n=3)),
  36. ctx=Load())],
  37. nl=True)])