Question: Create a program that Lab 2 _ 2 . py that will con nuously add five animal names to a list . A er that,
Create a program that Labpy that will con nuously add five animal names to a list A er that, please
print the list that you have created.
HINTS:
To declare an empty list, use animals
You should be using a while loop to check if the list count is less than
To get input from the command line, use x inputPlease enter an animal name:
To add numbers to a list ls use animals.appendx
Task Sample Solu on:
Output should like this, For ex: number in the list should be not
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
