Question: Activity 3.a) Write a python program that will collect items from the user and save them into a list. The program starts asking the user

 Activity 3.a) Write a python program that will collect items from

Activity 3.a) Write a python program that will collect items from the user and save them into a list. The program starts asking the user for the number of items, uses a for loop to collect each item, and print the results of the for loop. Hint: use method append to add the items to the list ACTIVITY 3a Enter the number of fruits: ---- ACTIVITY 3a Enter the number of fruits: 3 Fruit 1: --- ACTIVITY 3a Enter the number of fruits: 3 Fruit 1: apple Fruit 2: ACTIVITY 3a Enter the number of fruits: 3 Fruit 1: apple Fruit 2: pear Fruit 3: ACTIVITY 38 - Enter the number of fruits: 3 Fruit 1: apple Fruit 2: pear Fruit 3: orange User created a list of 3 items and entered the values: l'apple', 'pear', 'orange

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!