''' File: letterCount.py Author: CS 1510 Description: Prints a table of the counts of each letter in a string. ''' import string #Function letterCount #Inputs: inputStr (string) #Outputs: None #Description: Prints a table of the letters of the alphabet (in # alphabetical order) together with the number of times each letter # occurs in inputStr. def letterCount(inputStr): #Go through our sentence, adding one to our dictionary for #each letter we find #Print the dictionary