FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonprogram/simple interest at master · githubfordipesh/pythonprogram · GitHub
githubfordipesh
pythonprogram
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonprogram
/
simple interest
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (12 loc) · 358 Bytes
Breadcrumbs
pythonprogram
/
simple interest
Copy path
File metadata and controls
17 lines (12 loc) · 358 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
13
14
15
16
17
# Python3 program to find simple interest
# for given principal amount, time and
# rate of interest.
def simple_interest(p,t,r):
print('The principal is', p)
print('The time period is', t)
print('The rate of interest is',r)
si = (p * t * r)/100
print('The Simple Interest is', si)
return si
# Driver code
simple_interest(1000, 2, 5)
Back
|
FazBrowse Home
|
New Git URL