Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Text = []
- with open ('input.txt') as f:
- for line in f:
- for i in line.split():
- Text.append(i)
- while Text != []:
- b = set(Text)
- for i in b:
- Text.remove(i)
- with open ('output.txt', 'w') as F:
- print(min(b), file = F)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement