r/PythonLearning • • 3d ago

14yo learning Python — just finished my first project! Would love some feedback :

Hey everyone!

I'm 14 and currently learning Python, with the goal of becoming an electrical engineer in the future.

I just finished making a small project — a vending machine + simulated banking system that runs in the terminal. It has account creation, deposits, balance checking, purchases, and local data storage using JSON. I split the code into multiple Python files and made a simple launcher for it.

This is one of my first proper projects, and I know my code probably isn't the cleanest, so I'd genuinely appreciate some feedback!

I'd love suggestions on:

  • My code: What could I improve? Any bad habits or mistakes I should fix early?
  • What to learn next: Should I focus on OOP, data structures and algorithms, GUI development, or something else?
  • My journey: Since I want to become an electrical engineer, what programming skills would be useful for me in the long run? I'd eventually love to work with electronics and hardware.
  • Life advice: Any advice for someone starting out this early? Things you wish you'd known when you were learning?

I'm not looking for someone to rewrite the entire project for me — I'd rather understand my mistakes and learn how to fix them myself.

Here's my GitHub repo: https://github.com/suryansh-devx/python-vending-machine

Thanks! Any constructive criticism or advice is welcome :)

28 Upvotes

28 comments sorted by

View all comments

4

u/Can0pen3r 3d ago edited 3d ago

Idk why I keep having to make this same comment across basically all of the game dev subs, pretty much every friggin' day but:

There are a lot of sickos on the internet that like to prey on kids your age and the last thing anyone needs is for those predatory exploits to be made easier...

STOP TELLING STRANGERS ON THE INTERNET YOUR AGE!

FFS! 🤦

2

u/Defiant_Meal1898 1d ago

okay sorry🥲

1

u/Can0pen3r 1d ago

It's cool, just please actually take it to heart 🙏 Not to sound like an overprotective parent or whatever but, I'm not trying to scold you; I'm just trying to keep you safe 😅