Created
August 16, 2018 18:50
-
-
Save ImOmkar/9dc62f772ea88a7064392ead2edfcb64 to your computer and use it in GitHub Desktop.
Program to calculate Discount on MRP in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
u=int(input("Enter MRP:\n")) | |
o=int(input("Enter offer no:\n")) | |
for i in range(1): | |
if(o==1): | |
print("MRP Price after applying Discount: ",u*0.75) | |
elif(o==2): | |
print("MRP price after applying Discount: ",u*0.6) | |
elif(o==3): | |
print("MRP price after applying Discount: ",u*0.4) | |
elif(o==4): | |
print("MRP price after applying Discount: ",u*0.25) | |
else: | |
print("***GET LOST***") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment