Skip to content

Instantly share code, notes, and snippets.

@devparkk

devparkk/stuff.py

Created Aug 7, 2019
Embed
What would you like to do?
def discover_original_price (price , discount) :
original_price = "{:.2f}".format((100 * price ) / (100 - discount ))
return original_price
price , discount = map(int , input("Enter price and discount : ").split(" "))
print (discover_original_price(price , discount))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.