Practice Python programming with actuarial-focused problems and examples.
Write a function present_value(future_value, interest_rate, years) that calculates the present value of a future amount.
Formula: PV = FV / (1 + r)^n
present_value(1000, 0.05, 10)
# Returns: 613.91
Click "Run" to test your code