r/learnpython • • Oct 22 '26

I need some help

I want to learn python but all of the online tutorials just tell me how to make a certain game but i want to learn how it works so if anyone can help me with this please let me know

0 Upvotes

26 comments sorted by

View all comments

0

u/CodewithVaibhav369 Oct 22 '26

That frustration is common. Most tutorials teach you to copy a finished project, so you never learn why anything works. Try this instead:

  1. Learn the building blocks first, in small pieces. Variables, if/else, loops, lists, and functions. For each one, write 3-5 tiny programs of your own (e.g. a number guessing check, a loop that prints a multiplication table). Resources that explain things instead of just showing a project: “Automate the Boring Stuff with Python” (free online) and the official Python tutorial.
  2. Predict before you run. Before running any code, say what you think it will print. If you’re wrong, find out why. That’s where the learning happens.
  3. Break things on purpose. Change a value, delete a line, make an error. See what happens and what the error message says.
  4. Then rebuild a game from scratch. After you know the basics, try a simple game like number guessing or rock-paper-scissors without a tutorial. Get stuck, search the specific problem, fix it. That teaches you far more than following along.
  5. Explain it out loud. If you can’t explain what a line does in plain words, go back to it.

Only after that, go back to those game tutorials. You’ll see why each part is there instead of just copying it.