def letters(t): letter_map = {} for char in string.lowercase: letter_map[char] = (t(char), string.capitalize(char)) return letter_map