Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Gaining Proficiency Instructions Instructions Python HW 2 StoreItems Project Description: I would like everyone to create a program about items you are purchasing at a store. The program will ask the...

1 answer below »
Gaining Proficiency Instructions
Instructions    
Python HW 2 StoreItems
Project Description:
I would like everyone to create a program about items you are purchasing at a store. The program will ask the user to enter 2 items you wish to purchase at the store and the cost of the 2 items. Then the program should calculate the total cost of the 2 items and calculate the tax of the 2 items, at a rate of 10%. The program should output the 2 items purchase and the cost of each of the items. Also output the subtotal and the tax amount of the 2 items.
Needed for this assignment:
Google Colab (GC)
Instructions
To be submitted for this assignment:
Your python file, named LastNameFirstInitialPythonHW2StoreItems.py
A screen shot of your output file, saved as LastNameFirstInitialPythonHW2StoreItemsOutput.jpg
Instructions:
The following table shows the steps you will need to follow and the ru
ic that your instructor will use to grade your assignment:
Step    Instructions    Points Possible
1    Open up your Python editor and save the file LastNameFirstInitialPythonHW2StoreItems.py    5
    2
    First line of code should have a comment of your name and the CRN of your class.
    5
    3
    Create a variable in your code that will be “hard-coded”, this variable will represent your store. This should be the first line of code printed in the output, and be the save every time the code is executed
    10
    4
    Create 2 different variables (name the variables something meaningful), these variables will represent the store items you wish to purchase. This code should ask the user to enter the name of the items and print out the name of the items as the output.
    15
    5
    Create 2 more variables, these items will represent the cost of the items entered in the previous questions. Again, the user, should input the cost and then the price and the item should be printed as output.
    15
    6
    Created 2 more variables. The 1st variable, named subtotal, will calculate the cost of the 2 items, (previously entered values). The 2nd variable taxAmount, will calculate the tax rate of 10% of the 2 items.
    20
    7
    Output the subtotal of the 2 items and output the taxAmount.
    5
    8
    Run and fix your code for any e
ors.
    5
    9
    Create a screen shot of your output and name the output as LastNameFirstInitialPythonHW2StoreItemsOutput.jpg
    10
    10
    Save the file as LastNameFirstInitialPythonHW2StoreItems.py and submit both output and code back into the Brightspace
    10
    
    
    100
    Python Homework Instructions.docx
Answered Same Day Apr 18, 2021

Solution

Ankit answered on Apr 18 2021
161 Votes
lastnamefirstinitialpythonhw2storeitems.py
MYStoreName = "R"
print("Name of the Store = " + MYStoreName)
NameOfTheItem1 = input("Can you please enter the name of the first item = ")
NameOfTheItem2 = input("What is the name of the second item = ")
PriceOfItem1 = float(input("How much is "+...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here