Created
November 16, 2019 06:49
-
-
Save Nw3965/e9b441fc5bc31c207124eb9cf535f5bb to your computer and use it in GitHub Desktop.
This file contains 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
def compound (co): | |
def interest(interests): | |
return co*interests | |
return interest | |
five_years=compound(100000) | |
seven_years=compound(10000000) | |
ten_years=compound(10000) | |
print(five_years(0.012)) | |
print(seven_years(0.0121)) | |
print(ten_years(0.013)) | |
num = [five_years+seven_years+ten_years] | |
print(num) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment