Question: Create a function in python called myLower which accepts a string and returns a string where all of the letters have been converted to lowercase.

Create a function in python called myLower which accepts a string and returns a string where all of the letters have been converted to lowercase. NOTE: You MUST use list comprehension, and do NOT use the built-in string method lower( ).

Use LIST COMPREHENSION to solve this: Given a sentence input by the user, create a list of the words that do NOT begin with a vowel.

Write a function in python filterWords that takes a list of words and a letter and returns the list of words that dont contain that letter. The function MUST use LIST COMPREHENSION. Ex: wordList = filterWords( [This,is,a,long,list,of,words], i ) print(wordList) #prints [a, long, of, words] because thesewords dont contain an i

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!