Question: Using Spyder (python 3.9) anaconda 3 app must store calculations in variables program should print a blank line after gathering thr info from the user
Product Summary A local store wants to identify which face mask have the highest profit margin and are the most popular. They have hired you to update some of their systems. Your first task is to create an application to record the sales and calculate profit for individual masks sold. Write a program that accepts information from the user (a store clerk), calculates the total selling price, cost, and profit, and displays a summary of the item sold. Information entered by the user (store clerk) includes: The product's name The product's price The product's cost The quantity of the product sold The program then outputs the following summary information about the face mask: - Name of the product - Total revenue generated by the product - Total cost of the product - Quantity of product sold - Total profit (in dollars) generated by the product - Percentage profit generated by the product (percent profit = total profit/total revenue) Other program details: - Your program must contain a program header (see class slides for specifics) - Your program must have good, relevant variable names - Your program should be commented throughout - Your program should prompt the user for all information before displaying the product summary. - For now, you can assume that the user will enter valid numbers for price, cost and quantity. (This will change on subsequent homeworks.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
