Created
November 16, 2019 06:52
-
-
Save Nw3965/788e59f12950b5f980eb1b2516866e12 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) | |
num5=(five_years(0.012)) | |
num7=(seven_years(0.0121)) | |
num10=(ten_years(0.013)) | |
#type(ten_years) | |
#print(ten_years) | |
x = [num5+num7+num10] | |
print(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment