Coders Packet

Online banking app using Python

By Anjan Kumar M L

This code is for an online banking application with user sign-in, login-in, basic banking operations, and compound interest calculation.

The code for this project:

When we run the above code it will give two options (1) to sign in and (2) to log in if the account already exists. So, when the user is new and chooses 1 it will ask to create a username After entering the username 4-digit PIN needs to be created. After creating the account when he logged in using a username and password the following menu will be displayed to choose from:

1-Deposit

2-Withdraw

3-Check balance

4-Deposit interest rate

5-Calculate compound interest

When he wants to deposit (1) is selected and the amount should be entered so it will display his current balance. When he wants to withdraw (2) is selected it will ask for the amount of money that he wants to withdraw after withdrawing the amount the balance amount is shown. If the withdrawal amount is greater than the current balance it will display "Your current balance is not sufficient for this transaction!". We can see our current balance by selecting the (3) option.

For the deposit interest rate, we need to specify the interest rate used in calculating the compound interest.

When the compound interest is to be calculated we need to select (5) so it will ask us to choose the following options:

1-Calculate your deposit compound interest based on your current balance.

2-Calculate your deposit compound interest based on your deposit input.

When we enter the 1st option it will ask us to enter how many years we want to invest our money and it will calculate and give us the current balance in timing years specified. 

When the 2nd option is selected it will ask us to enter the year and amount of money to deposit. And give us the balance in specified time.

Overall, this code creates a simple online banking application, allowing users to manage their accounts and perform essential banking operations.

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Anjan Kumar M L (anjan15)

Download packets of source code on Coders Packet