123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- Module(body=[Import(names=[alias(name='string',
- asname=None)]),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='ascii_lowercase',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='ascii_uppercase',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='ascii_letters',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='lowercase',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='uppercase',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='letters',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='digits',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='hexdigits',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='octdigits',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='punctuation',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='whitespace',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='string',
- ctx=Load()),
- attr='printable',
- ctx=Load())],
- nl=True),
- Assign(targets=[Name(id='s',
- ctx=Store())],
- value=Str(s="I frequently eat pizza; however, I don't particularly like it")),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='split',
- ctx=Load()),
- args=[Name(id='s',
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='split',
- ctx=Load()),
- args=[Name(id='s',
- ctx=Load()),
- Str(s=';')],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Assign(targets=[Name(id='s',
- ctx=Store())],
- value=Str(s='capitalize')),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='capitalize',
- ctx=Load()),
- args=[Name(id='s',
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Assign(targets=[Name(id='s',
- ctx=Store())],
- value=Str(s='Capitalize')),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='capitalize',
- ctx=Load()),
- args=[Name(id='s',
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Assign(targets=[Name(id='l',
- ctx=Store())],
- value=List(elts=[Str(s='this'),
- Str(s='will'),
- Str(s='become'),
- Str(s='a'),
- Str(s='sentence')],
- ctx=Load())),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='join',
- ctx=Load()),
- args=[Name(id='l',
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='join',
- ctx=Load()),
- args=[Name(id='l',
- ctx=Load()),
- Str(s='_')],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Assign(targets=[Name(id='s',
- ctx=Store())],
- value=Str(s="i frequently eat pizza; however, i don't particularly like it")),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='capwords',
- ctx=Load()),
- args=[Name(id='s',
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='string',
- ctx=Load()),
- attr='capwords',
- ctx=Load()),
- args=[Name(id='s',
- ctx=Load()),
- Str(s='; ')],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True)])
|