Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('input.txt') as f:
- x = f.readlines()
- for s in x:
- p = s.strip()
- print(p)
- f = open('output.txt', 'w')
- f.write('ahahaha')
- f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement