Question: Exercise 6 . 4 . 2 Identify Words that Start with a Letter = = = = = = = = = = = =

Exercise 6.4.2 Identify Words that Start with a Letter
======================================================
Write a function called filter_word_start_with(my_list, letter) that will return the list contain all words that
start with the specified letter.
For Example
filter_word_start_with(['a', 'bye', 'above', 'Apple'],'a') will return ['a', 'above', 'Apple']
the presence of letter in upper case or lower case should be taken into consideration.
"""
# DON"T REMOVE!!
test1=['a', 'bye', 'above','comma']
letter1='a'
test2=['A', 'bye', 'above','comma']
letter2='A'
test3=['a', 'bye', 'above', 'Apple']
letter3='a'
# Complete the function below
def filter_word_start_with(my_list, letter):
return

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 Databases Questions!