Skip to content

Refactored banking system challenge using Python functions • deposits, withdrawals, users, accounts, CLI menu

Notifications You must be signed in to change notification settings

EmilyCDOGuimaraes/dio-bank-system-refactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

dio-bank-system-refactor

Banking System – Python Functions

This project is part of a DIO (Digital Innovation One) challenge.
The goal was to take a simple, procedural banking script and reorganize it using functions, making the code cleaner and easier to maintain.

The program lets you:

  • make deposits and withdrawals
  • view the transaction history
  • create users (with unique CPF validation)
  • create bank accounts linked to those users
  • list all created accounts

Note: the menu and messages are in Portuguese, because the challenge instructions required it.
All project documentation here is in English since this repo is part of my global portfolio.

What I learned

  • how to structure a program using functions
  • positional-only and keyword-only parameters in Python
  • handling lists and dictionaries for simple data storage
  • building a basic command-line interface
  • organizing a small project more clearly

This was one of my first exercises in refactoring Python code, and I’m keeping it here as part of my learning journey.

How to run

Run the script:

python banking_system.py

About

Refactored banking system challenge using Python functions • deposits, withdrawals, users, accounts, CLI menu

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages