1. Create a program using a while loop, two lists, and a for loop which records, saves,...
Fantastic news! We've Found the answer you've been seeking!
Question:
1. Create a program using a while loop, two lists, and a for loop which records, saves, and prints a full grocery list.
It should:
Start with two empty lists, for prices and items.
Prompt the user for the first item name.
Loop as long as the user does not enter Done
Add the item name to your items list.
Prompt for the price. Add the price to your price list.
Prompt for a new item, or Done
When finished, print entire items list.
Find and print the cost of the most expensive item.
****** I use python and am in the basic coding class so just using while loops ****
Posted Date: