Letter Counts Using Dictionaries
Remember to consider spaces as a special case.
(a) Write a function that takes as input a string and returns the most common letter in the string
(b) Write a function that takes as input a string and returns a dictionary of letter counts.
(c) Write a function that takes as input a string and prints a histogram of letter counts.
A histogram can be done with matplotlib or using different length strings of characters.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here