Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [0,1,2,3,4,5,1,4,1,0,1,2,3,1,0,2,4,5]
- count = [0,0,0,0,0,0]
- for i in a:
- count[i] += 1
- print(count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement