Created
August 11, 2021 23:42
-
-
Save sza-1/0b6fde49fbf9a3048f1f196b26371b9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from decimal import Decimal; x, s, n = Decimal(1000), Decimal(5), 10; print([(x * (1 + s / 100) ** n) for n in range(1, n - 1)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment