Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def read_in():
- with open("text.txt","r") as file:
- for line in file:
- <deliminate line>
- c = Counter(a).most_common()
- sort_w = sorted(c)
- sorted_fw = sorted(c, key = lambda x : x[1], reverse = True)
Add Comment
Please, Sign In to add comment