Guest User

Untitled

a guest
Jan 23rd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. >>> from collections import Counter
  2. >>> myList = [1,1,2,3,4,5,3,2,3,4,2,1,2,3]
  3. >>> print(Counter(myList))
  4. Counter({2: 4, 3: 4, 1: 3, 4: 2, 5: 1})
Add Comment
Please, Sign In to add comment