- Insert Card
- Enter and Verify PIN
- Select Account
- See Balance
- Deposit
- Withdraw
conda create -n atm python=3.7.10 -y
conda activate atm
Clone this repository and run main.py
.
git clone https://github.com/oikosohn/simple-atm-controller
cd simple-atm-controller
python main.py
base = Bank()
base.add_account('bisa', 'A_bank_account', 1000)
base.add_account('bisa', 'B_bank_account', 2000)
base.add_card('bisa', 1234)
- card name is
bisa
and PIN is1234
- The accounts linked to
bisa
areA_bank_account
andB_bank_account
.