Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Write a function named hasFinalLetter that takes two parameters 1. strList , a list of non-empty strings 2.

a.       Write a function named hasFinalLetter that takes two parameters

1.       strList, a list of non-empty strings

2.       letters, a string of upper and/or lower case letters

           The function hasFinalLetter should create and return a list of all the strings in strList that end with a letter in letters.

Create three test cases, each consisting of a list of non-empty strings and a string of upper and/or lower case letters, for your function in Problem 1a. One of these tests should return the empty list. For each test case write two assignment statements and a function call that pass the test arguments to your function

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question