Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

ATM Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

MINI PROJECT REPORT

On

ATM MACHINE UISNG PYTHON

A Report Submitted for a mini project for Data Structures and Algorithms
Laboratory in 2nd Semester of Second Year Computer Engineering
Academic Year 2022-23
Submitted by-

NO. NAME ROLL NO.

1. JAYESH PATIL S212068

2. AJAY AGALE S212071

Zeal Education Society’s


Zeal College of Engineering & Research Narhe,
Pune-411041.

1
Zeal Education Society’s
Zeal College of Egineering & Research Department of
Computer Engineering

CERTIFICATE
This is to certify that Project Entitled
ATM MACHINE UISNG PYTHON
Jayesh Patil
Ajay Agale
are Bonafide students of this institute and the work has been carried out by them
under the supervision of Prof . Dipali Mane and it is approved for the partial
fulfillment of the requirement of Savitribai Phule Pune University, for the award
of Second Year Engineering (Computer Engineering).It is certified that all
corrections/suggestions indicated for internal assignment have been incorporated
in the report. The project report has been approved as it satisfies the academic
requirements in respect of project work prescribed for the Bachelor of
Engineering Degree.

Prof. Dipali . Mane Prof.Aparna.V.Mote


Project Guide H. O. D

2
ACKNOWLEDGEMENT

We take this opportunity to thank our project guide Prof. Dipali. Mane
and Head of Department Prof. Aparna. V. Mote for their valuable guidance and
for providing all the necessary facilities, which were indispensable in the
completion of this project report. We are also thankful to all the staff members of
the Computer Engineering Department for their valuable time, support,
comments, suggestions and persuasion. We would also like to thank the institute
for providing the required facilities, Internet access and important books.

3
INDEX

Sr. CONTENT Page

No. No.

1. Abstract 05

2. Software Requirement 06

3. Introduction 07

4. Problem Statement 08

5. Objective and Outcome 08

6. Implementation of Code 09-11

7. Output 12

8. Conclusion 13

9. References 14

4
ABSTRACT

The ATM (Automated Teller Machine) machine code is a software


implementation of an ATM system that provides basic banking operations such
as checking the account balance, making withdrawals, and depositing money. The
code is designed as a console-based application that allows users to interact with
the ATM through a menu-driven interface.
The main functionalities of the ATM machine code include:
1. Account Balance: Users can check their account balance by selecting the
corresponding option from the menu. The current balance is displayed on the
screen.
2. Withdrawal: Users can withdraw money from their account by entering the
desired amount. The code checks if the account balance is sufficient and allows
the withdrawal if the funds are available. It updates the account balance
accordingly and provides feedback to the user.
3. Deposit: Users can deposit money into their account by entering the amount to
be deposited. The code adds the deposited amount to the account balance and
provides confirmation to the user.
4. Menu System: The code provides a menu-driven interface that presents the
available options to the user. Users can choose an option by entering the
corresponding number.
The ATM machine code utilizes concepts such as functions, variables, control
structures, and input/output operations to implement the desired functionality. It
does not include advanced features like authentication, card reading, or
transaction logs, as it focuses on providing a simplified representation of an ATM
system.

5
SOFTWARE REQUIREMENT

❖ Windows 10
❖ Programming languages: Python
❖ Compiler: Visual Studio Code
❖ System: Windows

6
INTRODUCTION

The Python-based ATM machine code provides users with a user-friendly


interface to perform common banking operations. Users can check their account
balance, make withdrawals, and deposit funds, all through a virtual ATM
environment. By leveraging the power and flexibility of Python, this code creates
a seamless banking experience for users, enabling them to access their accounts
and perform transactions anytime, anywhere.

The Python ATM machine code combines essential programming concepts and
techniques to handle user input, maintain account balances, and ensure
transaction security. It employs functions, conditional statements, loops, and data
structures to simulate the various functionalities of a physical ATM machine.

With the Python ATM machine code, users can enjoy the convenience of banking
at their fingertips. They can securely manage their finances, track their account
balances, and conduct transactions efficiently, all within the comfort of their own
devices. Whether it's checking account details or performing financial
transactions, this code aims to provide a robust and user-friendly banking
experience through the power of Python.

7
Problem Statement

Creating the atm machine in python language using the basic


concept and library .

Objective:

To understand the concept of the library and exception handling


in python and apply it in the project.

Outcome:

Successfully Implemented the basic concept and the use of library via
creating the atm machine in Python language.

8
Implementation Code (Python):

import time

print("Please insert Your CARD")


time.sleep(5)

password = 1234 # ATM pin


pin = int(input("enter your atm pin "))

balance = 5000

if pin == password:
while True:

print("""
1 == balance
2 == withdraw balance
3 == deposit balance
4 == exit
"""
)

try:
9
option = int(input("Please enter your choise "))
except:
print("Please enter valid option")

if option == 1:
print(f"Your current balance is {balance}")

if option == 2:

withdraw_amount = int(input("please enter withdraw_amount


"))

balance = balance - withdraw_amount

print(f"{withdraw_amount} is debited from your account")

print(f"your updated balance is {balance}")

10
if option == 3:

deposit_amount = int(input("please enter deposit_amount"))

balance = balance + deposit_amount

print(f"{deposit_amount} is credited to your account")

print(f"your updated balance is {balance}")

if option == 4:

break

else:
print("wrong pin Please try again")

11
OUTPUT

12
CONCLUSION

We have successfully created the ATM Machine in python using the


basic concepts of python language and library which is used to store
and connect the data to each other.In conclusion, the ATM machine
code is a complex and essential component of the ATM system. It
facilitates secure and reliable transactions, provides a user-friendly
interface, and ensures efficient system performance. With continuous
updates and enhancements, ATM machine code plays a vital role in
meeting the evolving needs of customers and maintaining the integrity
of banking operations.

13
REFERENCES

(1) https://youtu.be/GZueRV4BIV4
(2) https://www.bhutanpythoncoders.com/how-to-build-an-
atm-program-in-python-with-classes-and-objects/
(3) https://github.com/jboycoded/bank-atm-system

14

You might also like