Question: 1] I need to createe a program in python 3.x and submit the python file. 2] I also need a screenshot of the output. 3]

1] I need to createe a program in python 3.x and submit the python file.

2] I also need a screenshot of the output.

3] Build a python program to calculate total expenses, given/inputs the shopper name, shopping date supermarket name, item name, item price, quantity (The formula to calculate the total is Total = Item price * Quantity.) Display/outputs shopper name, shopping date, supermarket name, item name, price, and total. Add commute expense and type such as taxi fee, bus, your own car, and so on.

4] You are allowed to hard code the values in this assignment or use input() function

Example:

name = "Sambaz"# hard coded value

name = input("What is your name")

Use simple coding, do not use function def. You need to submit the output of your code.

Sample output: (receipt)

Shopper name: Ymmas Azaba

----------------------------------------------------------------------------------------------------------------------------

Apus food store

2/20/2020

ItemPriceQuantityTotal

Banana1.0522.10

Commute expense

Commute type: TaxiFee:5.00

Total expenses7.10

----------------------------------------------------------------------------------------------------------------------------

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!