Question: Inside your PyCharm project, create a folder called sales. Place the attached dailyreport.csv file in that folder. Write the code that will ask the user

Inside your PyCharm project, create a folder called sales. Place the attached dailyreport.csv file in that folder.
Write the code that will ask the user for the folder name and the file name. Open the file.
Read one line at a time to print the data to the screen. Add the Total: column. Sum the total items sold and the total in sales.
CSV is the solution! You are finished when you have the following output:
Item: Sold: Price: Total:
coffee 2863.951129.70
hot chocolate 372.95109.15
apple cider 451.9587.75
Today we sold 368 items and grossed 1326.60 in sales.

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 Programming Questions!