# Percent needed to return to original value after 10% taken off
fin_percent(-10)
# Percent needed to return to original value after 10% added on
fin_percent(10)
# Percent needed to return to original value after 50% off 34.50
fin_percent(-50, value = 34.5)
Run the code above in your browser using DataLab