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,406 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
2
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
Python program(for beginners)
By
debapriya_dutta
11.3K
153
0
Beginner Python Concepts
By
a-Rye
32.5K
231
0
Les bases de Python pour le lycée
By
smalicet
84.4K
292
0
Curso Basico de Python
By
mayracmg
1,611
18
0
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
INTERVIEWING
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN