Question: Write a program in python that asks the user to enter in a number of products (as an integer). Then prompt the user for that
Write a program in python that asks the user to enter in a number of products (as an integer). Then prompt the user for that number of prices and compute the total cost of all products. Sample: Enter a number of products: 3 Enter price for product # 1: 100 Enter price for product # 2: 200 Enter price for product # 3: 300 Total cost: 600
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
