Question: In Python Use print, lambda expression and filter function to remove words from the following list if the word starts with 'r': x = ['blue',
In Python
Use print, lambda expression and filter function to remove words from the following list if the word starts with 'r':
x = ['blue', 'red', 'fox', 'read', 'dog']
Your one line code should print:
blue fox dog
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
