Question: Intro to Python Janes Stuff Store sells a variable number of items to every customer. Recently Janes customers have been requesting a printout showing the
Intro to Python
Janes Stuff Store sells a variable number of items to every customer. Recently Janes customers have been requesting a printout showing the average cost of each item purchased and the total cost of all items purchased. Create a program that asks the user how many items they wish to purchase. The program should then use a loop to prompt the user for the price of each item and to calculate the total cost of all items. The program should calculate the average cost of each item purchased. The program should print out the total cost for all items as well as the average cost of each item purchased
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
