Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file = open('newfiles.txt', 'r')
- with open('newfiles.txt','r') as file:
- for line in file:
- for word in line.split():
- print(word)
- They
- say
- it's
- a
- dog's
- life,.....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement