{"id":8260,"date":"2021-09-30T11:00:36","date_gmt":"2021-09-30T05:30:36","guid":{"rendered":"https:\/\/python-programs.com\/?p=8260"},"modified":"2021-11-22T18:35:31","modified_gmt":"2021-11-22T13:05:31","slug":"python-program-to-compute-simple-interest","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-compute-simple-interest\/","title":{"rendered":"Python Program to Compute Simple Interest"},"content":{"rendered":"

Have you mastered basic programming topics of java and looking forward to mastering advanced topics in a java programming language? Go with these ultimate Advanced java programs examples with output<\/a> & achieve your goal in improving java coding skills.<\/p>\n

Simple Interest:<\/strong><\/p>\n

Simple interest (S.I) is the way by which the interest amount is calculated for a capital amount. If your pocket money is exhausted, did you ever borrow your siblings? Or perhaps lent him? When you borrow money, what happens? You utilize this money first and foremost for the purpose you borrowed. Afterwards, when you get your parents’ pocket money the next month, you give the money back. That’s how to borrow and lend at home.<\/p>\n

But in the real world, money is not free to borrow. You typically have to borrow money from banks in the form of a loan. You paid a certain amount of money during paybacks, apart from the amount of the loan, depending both on the lending amount and on the lending time. Simple interest is called this. This word is often used in the banking industry.<\/p>\n

Given all the required values like amount ,rate and time the task is to calculate the simple interest for the given values in Python<\/p>\n

Examples:<\/strong><\/p>\n

Example1:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

given amount=18816\r\n\r\ngiven time= 3\r\n\r\ngiven rate= 8.43<\/pre>\n

Output:<\/strong><\/p>\n

Example2:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

given amount=49332\r\n\r\ngiven time=3.4\r\n\r\ngiven rate=6.732<\/pre>\n

Output:<\/strong><\/p>\n

The simple interest for the amount 49332 in 3.4 at the rate 6.732 % = 11291.502815999998<\/pre>\n

Program to Compute Simple Interest in Python<\/h2>\n

We can calculate simple interest easily using python:<\/p>\n