123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- Module(body=[Assign(targets=[Name(id='l',
- ctx=Store())],
- value=List(elts=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=4)],
- ctx=Load())),
- Assign(targets=[Name(id='t',
- ctx=Store())],
- value=Tuple(elts=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=4)],
- ctx=Load())),
- Assign(targets=[Name(id='d',
- ctx=Store())],
- value=Dict(keys=[Num(n=1),
- Num(n=3)],
- values=[Num(n=2),
- Num(n=4)])),
- Print(dest=None,
- values=[Str(s='\nlists')],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[List(elts=[],
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[List(elts=[],
- ctx=Load()),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[List(elts=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=4)],
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Name(id='l',
- ctx=Load()),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Str(s='\ntuples')],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Tuple(elts=[],
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Tuple(elts=[],
- ctx=Load()),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Tuple(elts=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=4)],
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Name(id='t',
- ctx=Load()),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Str(s='\ndictionaries')],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Dict(keys=[],
- values=[])],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Dict(keys=[],
- values=[]),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Dict(keys=[Num(n=1),
- Num(n=3)],
- values=[Num(n=2),
- Num(n=4)])],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Call(func=Attribute(value=Name(id='d',
- ctx=Load()),
- attr='keys',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Call(func=Attribute(value=Name(id='d',
- ctx=Load()),
- attr='values',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Name(id='sum',
- ctx=Load()),
- args=[Name(id='d',
- ctx=Load()),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True)])
|