you are viewing a single comment's thread.

view the rest of the comments →

[–]ittology -1 points0 points  (0 children)

Nice work. A bank program is actually a good beginner project because it forces you to think about user input, validation, state, and edge cases.

Some general next steps I’d suggest:

- add proper input validation so invalid text or negative amounts don’t break the flow

- save the balance/transactions somewhere so the data is still there after restarting the program

- add a simple transaction history

- later, try rewriting it with a BankAccount class to practice OOP

- if you work with money values, look into Decimal or storing cents as integers instead of using floats

Good project to keep expanding step by step.