I want to generate a dict with the letters of the alphabet as the keys, something like
letter_count = {\'a\': 0, \'b\': 0, \'c\': 0}
what
I find this solution more elegant:
import string d = dict.fromkeys(string.ascii_lowercase, 0)