Question: Write a program in Python that accepts two inputs. The first should be the full price of an item and the second should be
Write a program in Python that accepts two inputs. The first should be the full price of an item and the second should be the discount percentage. The function should display the price of the item after the discount has been applied digits after the decimal point function should display 80.00 SAR. your output should look like the following with two For example, if the price is 100 and the discount is 20, the Users/Ama 1Ahmed/PycharmProjects/102/Aasignment1 Amal Ahmed CYB102. py Name: Amal Ahmed Section: XA Please enter the price of the item 100 Please enter the discount percentage 20 The price after the discount of 20.00 isE 80.00 SAR
Step by Step Solution
3.49 Rating (166 Votes )
There are 3 Steps involved in it
Source code Output print pricefloatinputPlease e... View full answer
Get step-by-step solutions from verified subject matter experts
