Programming Homework Help

ENTD200 B001 American Public University System Wk 6 Python Problem

 

I’m trying to study for my Python course and I need some help to understand this question.

You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this www.python.org

You will code the following and submit it in one file. Use the information in the Content area for this week to assist you. Save it as a python file (.py) and upload it into the Assignments area.

1. Include comment block on line1 of your code with the following information:

“””

Your Name

Course Name, Section (example: ENTD200 B002 Spr18)

Instructor name

Week #

Date completed

“””

2. Create a Python programs based on week 6 flowchart and requirements. You must use loops, do not use function call

Sample output of the list should be something like this

Get the supermarket name —> Apus food store

Get item –> Keto bites

more items (y/n) y

Get item –> Coconut drink

more items (y/n) n

Item 1 is keto bites

Item 2 is Coconut drink

Now, let’s say the list has [“Keto bites”, “Coconut drink”]

What is your name (Shopper name) –> Sambaz <<< must be hardcoded with your name

What is the supermarket name –> Apus food store <<< must be hardcoded with your supermarket name

Shopping date –> 12/12/2021 <<< must be hardcoded with assignment due date

Enter price for Keto bites –> 3.50

Enter Quantity for keto bites –> 2

Total For Keto bites = 7

Do you want another calculation? (y/n) y

Enter price for Coconut drink –> 1.50

Enter Quantity for Coconut drink –> 2

Total For Coconut drink = 3

Do you want another calculation ? (y/n) n

What type of commute did you use –> taxi

How much the cost –> 5.00

Expense report for Sambaz

Apus food store

12/12/2021

Item Price Qty Total

Keto bites 3.5 2 7.0

Coconut drink 1.5 2 3.0

Commute expenses 5.0

Total 15.0

Thanks for the expense calculator

You need to submit the output of your code (results of code run and not the code itself). I will accept an image or text.

The filename should be week8_{yourlastName}.py