Question: LANGUAGE: PYTHON Define a function filter_toppings that consumes a list of strings and returns a new list. This new list should not have any of
LANGUAGE: PYTHON
Define a function filter_toppings that consumes a list of strings and returns a new list. This new list should not have any of the following strings, regardless of capitalization: "ham", "bacon", "sausage". For example, the list ["Bacon", "Onions", "green pepper", "HAM"] would return ["Onions", "green pepper"].
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
