Question: CS100 Dictionary Homework Write and test. For each problem, write code that satisfies the problem specification. Test your code by designing at least three inputs

CS100 Dictionary Homework Write and test. For each problem, write code that satisfies the problem specification. Test your code by designing at least three inputs for each problem that you believe are likely to reveal any bug and run your code on those inputs. Submit your solution, including the test inputs as a .py file via Moodle. Problem 1. Write a function named initialLetterCount that takes one parameter, wordList - a list of words. Create and return a dictionary in which each initial letter of a word in wordList is a key and the corresponding value is the number of words in wordList that begin with that letter. The keys in the dictionary should be case-sensitive (eg,, a, and A are different letters). For example, the following is correct output horton-['', 'say', 'what','I','mean','and',','mean','what',I,'say'] print(initial LetterCount(horton)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
