Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #splitSample.py
- #import pprint
- spam = '''Dear Alice,
- How have you benn? I am fine.
- There is labeled "Milk Experiment".
- Please do not drink it.
- Sincerely,
- Bob'''
- list1 = spam.split('\n')
- #pprint.pprint(list1)
- print(spam)
- print(list1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement