Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from collections import Counter
- with open('advent_message.txt') as fd:
- data = fd.read()
- data_counted = [Counter(x).most_common() for x in zip(*data.splitlines())]
- print('first star: {}'.format(''.join(x[0][0] for x in data_counted)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement