Skip to content

Commit 58ca926

Browse files
authored
Create simple_interest.py
Python program to calculate simple interest
1 parent 6cee54f commit 58ca926

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

simple_interest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://m.facebook.com/story.php?story_fbid=2746412395598393&id=100006889785546
2+
# Subscribed by Nitish Kumar
3+
4+
print("finding simple interest......")
5+
6+
p=int(input("enter the value of p: "))
7+
t=int(input("enter the value of t: "))
8+
r=int(input("enter the value of r: "))
9+
si=p*t*(r/100)
10+
print("the simple interrest is:",si)

0 commit comments

Comments
 (0)