Challenge yourself

Beginner
Intermediate
Expert

Use dictionaries get method to write histogram more concisely. You should be able to eliminate the if statement.