Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import collections
- c = collections.Counter('extremely')
- c['z'] = 0
- print c
- print list(c.elements())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement