Skip to content

Instantly share code, notes, and snippets.

@ilonacodes
Created June 8, 2021 13:22
Show Gist options
  • Save ilonacodes/b95a91c512208003cceea26bcadd4223 to your computer and use it in GitHub Desktop.
Save ilonacodes/b95a91c512208003cceea26bcadd4223 to your computer and use it in GitHub Desktop.
cash_flow['PV'] = cash_flow['Cash'] / (1 + inflation_rate) ** cash_flow['Year']
print(round(cash_flow))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment