FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonprogram/Python3 program to find compound at master · ron2111/pythonprogram · GitHub
ron2111
pythonprogram
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonprogram
/
Python3 program to find compound
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (9 loc) · 333 Bytes
Breadcrumbs
pythonprogram
/
Python3 program to find compound
Copy path
File metadata and controls
12 lines (9 loc) · 333 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
# Python3 program to find compound
# interest for given values.
def compound_interest(principle, rate, time):
# Calculates compound interest
Amount = principle * (pow((1 + rate / 100), time))
CI = Amount - principle
print("Compound interest is", CI)
# Driver Code
compound_interest(10000, 10.25, 5)
Back
|
FazBrowse Home
|
New Git URL