Question: **NO INPUT FUNCTION only import sys and sys argv Filename: assign3-10.py A shop will give a discount of 10% if the total cost of the

**NO INPUT FUNCTION only import sys and sys argv Filename: assign3-10.py A**NO INPUT FUNCTION only import sys and sys argv

Filename: assign3-10.py A shop will give a discount of 10% if the total cost of the purchase is more than $800. Each item in the store costs $100. Write a program to ask the user to enter the number of purchases, and print the total cost for the user. The program should only accept numeric inputs. For non-numeric inputs, display a message. Input: a) python C:\Users eda DataProgramming\M3\assign3-10.py 7 b) python C:\Users eda\Dataprogramming\M3\assign3-10.py 12 c) python C:\Users eda\Data Programming\M3\assign3-10.py nine Output: No discount. Your total cost is $700. b) You get a discount of $120, and your total cost is $1080. c) Please enter a numeric input

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