Question: Python Program Use input to allow user to add items to an inventory list Keep adding items to the list until the user makes no

Python Program

Use input to allow user to add items to an inventory list Keep adding items to the list until the user makes no entry Display all the items on the list, in reverse order as they were added to the list List them vertically, not horizontally Tests Test 1 Input: (bold in computer prompt; other is user response) Enter item: pen Enter item: pencil Enter item: paper Enter item: Display: paper pencil pen Test 2 Input: (bold in computer prompt; other is user response) Enter item: butter Enter item: pretzels Enter item: rice Enter item: lettuce Enter item: Display: lettuce rice pretzels butter Notes Use a list and 2 loops (one for input, one for output) I used a while loop for input and a for loop for output there is no calculation Be sure to fill out author and date Run always displays Done whether your code works or not Validate your code by running both tests

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!