PY/MATH
Challenges
Arithmetic · Easy

Percentage Increase

Write `percent_increase(old, new)` returning the percent increase from `old` to `new` as a float (e.g. 25.0 for 25%).

Examples
Input: percent_increase(100, 125)
Output: 25
Input: percent_increase(50, 75)
Output: 50
Concepts
Read lesson
solution.py○ Loading…
Loading...
Console
Test cases
percent_increase(100, 125)PENDING
percent_increase(50, 75)PENDING
percent_increase(200, 150)PENDING
HiddenPENDING
Hints