Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

Source code Output print pricefloatinputPlease e... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions