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
Log In
Sign Up
Python Program Collection
jupiterdv
7,727 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
Python from Zero to Hero
By
toEpam
6,493
71
0
Recueil d'exercices pour apprendre Python au lycée
By
M_C
1533.9K
663
0
Methodenparameter, RĂ¼ckgabewerte und erste Algorithmen
By
Unnamed contributor
630
2
0
Apprendre les bases de Python pour réussir en N.S.I.
By
sebmalicet
99.1K
92
0
ABOUT US
CAREERS
PRIVACY
FAQ
BLOG
ABOUT US
CAREERS
PRIVACY
FAQ
BLOG
The #1 tech hiring platform
SCREENING
INTERVIEWING
Facebook
YouTube
Twitter
LinkedIn
FR
EN