loading...

Discussion on: Daily Challenge #30 - What is the price?

Collapse
suchafoka profile image
Suchafoka

Python

def DiscoverOriginalPrice(new_price, discount):
    return '%.2fM' %((new_price*100)/(100-discount))