# Copyright (c) 2010 <NAME>.  All rights reserved.
#
"""Updating counts.
"""

# end_pymotw_header
import collections

c = collections.Counter("abcdaab")

for letter in "abcde":
    print("{} : {}".format(letter, c[letter]))

# Copyright (c) 2010 <NAME>.  All rights reserved.
#
"""Updating counts.
"""

# end_pymotw_header
import collections

c = collections.Counter("abcdaab")

for letter in "abcde":
    print("{} : {}".format(letter, c[letter]))

# Copyright (c) 2010 <NAME>.  All rights reserved. # Updating counts. # end_pymotw_header