subject

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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
You know the right answer?
Write a function named hasFinalLetter that takes two parameters 1.strList, a list of non-empty str...
Questions
question
English, 23.04.2020 08:01
question
Mathematics, 23.04.2020 08:01
question
Biology, 23.04.2020 08:01
Questions on the website: 13722367