Question: 3. Implement the function letterfinder() that takes in a number and a character as parameters. The function will repeat asking the user to enter

3. Implement the function letterfinder() that takes in a number and acharacter as parameters. The function will repeat asking the user to enter

3. Implement the function letterfinder() that takes in a number and a character as parameters. The function will repeat asking the user to enter n count of words and collect all the words the user enters that have the letter in them. The function will return a list of all the words a user enters that have the character specified by the second parameter in them. Case needs to be ignored. The information below shows how you would call the function letterfinder () and what it would display for a few different inputs: |words=letterfinder (4, 'b') Looking for letter: b Please enter a word: BOY Please enter a word: Bank Please enter a word: bland Please enter a word: CAT words ['BOY', 'Bank', 'bland'] words=letterfinder (4,'C') Looking for letter: C Please enter a word: cat Please enter a word: COPY Please enter a word: snack Please enter a word: dog words words ['cat', 'COPY', 'snack'] words=letterfinder (3,'z') Looking for letter: Z Please enter a word: day Please enter a word: PLAY Please enter a word: zoo words ['zoo']

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!