How to update a Counter with a string, not the letters of the string? For example, after initializing this counter with two strings:
from collections import Counter
c = Counter(['black','blue'])
"add" to it another string such as 'red'. When I use the update() method it adds the letters 'r','e','d':
c.update('red')
c
>>Counter({'black': 1, 'blue': 1, 'd': 1, 'e': 1, 'r': 1})