Fix docstring in present_value.py (#8702)

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2023-05-01 02:59:42 +02:00
committed by GitHub
parent c4dcc44dd4
commit f6df26bf0f
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ An algorithm that calculates the present value of a stream of yearly cash flows
2. An array of cash flows, with the index of the cash flow being the associated year
Note: This algorithm assumes that cash flows are paid at the end of the specified year
"""
def present_value(discount_rate: float, cash_flows: list[float]) -> float: