123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- Module(body=[Assign(targets=[Name(id='a',
- ctx=Store())],
- value=List(elts=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=4),
- Num(n=5),
- Num(n=6)],
- ctx=Load())),
- Assign(targets=[Name(id='b',
- ctx=Store())],
- value=List(elts=[Num(n=9),
- Num(n=9),
- Num(n=9)],
- ctx=Load())),
- Assign(targets=[Subscript(value=Name(id='a',
- ctx=Load()),
- slice=Slice(lower=Num(n=1),
- upper=Num(n=5),
- step=None),
- ctx=Store())],
- value=Name(id='b',
- ctx=Load())),
- Print(dest=None,
- values=[Name(id='a',
- ctx=Load())],
- nl=True),
- Assign(targets=[Name(id='mylist',
- ctx=Store())],
- value=List(elts=[Str(s='a'),
- Str(s='b'),
- Str(s='c'),
- Str(s='d')],
- ctx=Load())),
- Assign(targets=[Name(id='d',
- ctx=Store())],
- value=Dict(keys=[Str(s='1'),
- Str(s='2')],
- values=[Num(n=1),
- Num(n=2)])),
- Assign(targets=[Subscript(value=Name(id='mylist',
- ctx=Load()),
- slice=Slice(lower=Num(n=0),
- upper=Num(n=2),
- step=None),
- ctx=Store())],
- value=Name(id='d',
- ctx=Load())),
- Print(dest=None,
- values=[Name(id='mylist',
- ctx=Load())],
- nl=True),
- Assign(targets=[Subscript(value=Name(id='mylist',
- ctx=Load()),
- slice=Slice(lower=Num(n=1),
- upper=Num(n=3),
- step=None),
- ctx=Store())],
- value=Str(s='temp')),
- Print(dest=None,
- values=[Name(id='mylist',
- ctx=Load())],
- nl=True),
- Assign(targets=[Subscript(value=Name(id='mylist',
- ctx=Load()),
- slice=Slice(lower=None,
- upper=None,
- step=None),
- ctx=Store())],
- value=List(elts=[Str(s='g'),
- Str(s='o'),
- Str(s='o'),
- Str(s='d')],
- ctx=Load())),
- Print(dest=None,
- values=[Name(id='mylist',
- ctx=Load())],
- nl=True)])
|