t391.trans 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Module(body=[Assign(targets=[Name(id='l',
  2. ctx=Store())],
  3. value=Call(func=Name(id='range',
  4. ctx=Load()),
  5. args=[Num(n=9)],
  6. keywords=[],
  7. starargs=None,
  8. kwargs=None)),
  9. Print(dest=None,
  10. values=[Subscript(value=Name(id='l',
  11. ctx=Load()),
  12. slice=Slice(lower=Num(n=-10),
  13. upper=None,
  14. step=None),
  15. ctx=Load())],
  16. nl=True),
  17. Print(dest=None,
  18. values=[Subscript(value=Name(id='l',
  19. ctx=Load()),
  20. slice=Slice(lower=Num(n=8),
  21. upper=Num(n=-10),
  22. step=Num(n=-1)),
  23. ctx=Load())],
  24. nl=True),
  25. Assign(targets=[Name(id='s',
  26. ctx=Store())],
  27. value=Str(s='01234')),
  28. Print(dest=None,
  29. values=[Subscript(value=Name(id='s',
  30. ctx=Load()),
  31. slice=Slice(lower=Num(n=-6),
  32. upper=Num(n=0),
  33. step=None),
  34. ctx=Load())],
  35. nl=True),
  36. Print(dest=None,
  37. values=[Subscript(value=Name(id='s',
  38. ctx=Load()),
  39. slice=Slice(lower=Num(n=-6),
  40. upper=None,
  41. step=None),
  42. ctx=Load())],
  43. nl=True),
  44. Print(dest=None,
  45. values=[Subscript(value=Name(id='s',
  46. ctx=Load()),
  47. slice=Slice(lower=Num(n=-6),
  48. upper=Num(n=-3),
  49. step=None),
  50. ctx=Load())],
  51. nl=True),
  52. Print(dest=None,
  53. values=[Subscript(value=Name(id='s',
  54. ctx=Load()),
  55. slice=Slice(lower=Num(n=-6),
  56. upper=Num(n=20),
  57. step=None),
  58. ctx=Load())],
  59. nl=True),
  60. Print(dest=None,
  61. values=[Subscript(value=Name(id='l',
  62. ctx=Load()),
  63. slice=Index(value=Num(n=4)),
  64. ctx=Load())],
  65. nl=True),
  66. Print(dest=None,
  67. values=[Subscript(value=Name(id='l',
  68. ctx=Load()),
  69. slice=Index(value=Num(n=-1)),
  70. ctx=Load())],
  71. nl=True),
  72. Assign(targets=[Subscript(value=Name(id='l',
  73. ctx=Load()),
  74. slice=Index(value=Name(id='None',
  75. ctx=Load())),
  76. ctx=Store())],
  77. value=Num(n=4))])