Employers: discover CodinGame for tech hiring
EVENTS
UPCOMING
PAST
SOLO
PUZZLES
CODE GOLF
OPTIMIZATION
MULTI
LEADERBOARDS
CLASH OF CODE
BOT PROGRAMMING
CODING ESCAPE
COMMUNITY
CONTRIBUTIONS
LEARN
DISCORD
FORUM
LIVE STREAMS
BLOG
Log In
Sign Up
Python Program Collection
jupiterdv
7,557 views
Different Python Programs!
Collection of Python Programs to program compound interest using
Python
1
2
3
4
5
6
7
8
#Given Values
def compound_interest(principle, rate, time):
#Code to calculate compound interest
CIn = principle *(pow((1+rate/100), time))
print("Compound interest is",CIn)
# Code for Drive
compound_interest(1200,5.25,6)
Run
42
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
Suggested playgrounds
"Magic Methods" of Python Classes
By
Nazgrin
393
1
0
Python program(for beginners)
By
debapriya_dutta
15K
186
0
Learn Python with 'de Developer'
By
deDeveloper
3,420
29
0
NumPy a Python Library
By
deDeveloper
2,963
17
0
ABOUT US
CAREERS
PRIVACY
FAQ
The #1 tech hiring platform
SCREENING
INTERVIEWING
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN