top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Simple interest calculator

Writer's picture: jackson_gargarjackson_gargar

This is a simple program that will teach you how to quickly find simple interest in python

""" Author: Jackson I. Gargar Date: 1/12/2022 Assignment: Task: Simple interest calculator. Simple interest is calculating the amount of interest that is been charged on a sum at a given rate and for a given period of time. You can use a computer program to calculate the simple interest and below is an example of simple codes that will teach you how to calculate the Simple interest that is been charged on a sum at a given rate and for a given period of time Formular: Simple Intrest = P × R × T Simple Interest is calculated using the following formula: SI = P × R × T, where P = Principal, R = Rate of Interest, and T = Time period. and the rate is given in percentage (r%) is written as r/100 To find the sample interest, you will need to use a data type called float. """ # request the user to import the principal P = float(input('Enter the principal amount: ')) # request the user to import the rate R = float(input('Enter the total number of rate: ')) # request the user to import the number of years T = float(input('Enter the time in years: ')) # formula to calculate the interest S_interest = (P * R * T)/100 # this below create a space print() # Print the Principal print('The principal amounts:', P ) # Print the Rate print('The rate is:', R) # Print the Time print('The total number of years:', T) # Print the total Interest print('The Total interest is:', S_interest)

0 comments

Recent Posts

See All

Comments


COURSES, PROGRAMS & CERTIFICATIONS

 

Advanced Business Analytics Specialization

Applied Data Science with Python (University of Michigan)

Data Analyst Professional Certificate (IBM)

Data Science Professional Certificate (IBM)

Data Science Specialization (John Hopkins University)

Data Science with Python Certification Training 

Data Scientist Career Path

Data Scientist Nano Degree Program

Data Scientist Program

Deep Learning Specialization

Machine Learning Course (Andrew Ng @ Stanford)

Machine Learning, Data Science and Deep Learning

Machine Learning Specialization (University of Washington)

Master Python for Data Science

Mathematics for Machine Learning (Imperial College London)

Programming with Python

Python for Everybody Specialization (University of Michigan)

Python Machine Learning Certification Training

Reinforcement Learning Specialization (University of Alberta)

Join our mailing list

Data Insight participates in affiliate programs and may sometimes get a commission through purchases made through our links without any additional cost to our visitors.

bottom of page