Question: python colab Create a list that contains the following elements animal_list = [elephant, dog, cat, elephant, tiger] Write a for loop that goes through all
python colab
Create a list that contains the following elements animal_list = [elephant, dog, cat, elephant, tiger] Write a for loop that goes through all the elements of the list and that prints the elements that contain elephant It should print it twice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
