r/learnpython • u/Maleficent_Shape2027 • 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
5
u/p186 Oct 22 '26
Can you give more info? What tutorials are you doing?
0
u/Maleficent_Shape2027 Oct 22 '26
I am just using yt tutorials i dont know any other sites for tutorials and if i try to google it then it says tht i need to understand basic syntaxes but thats what i am trying to learn
2
u/p186 Oct 22 '26
I assume you are just starting and have no experience. If you want to stay on YT, take CS50, a general intro that will touch on Python at the end, and then take CS50P which is just Python. If you want to just learn the language, then skip to the latter. Also check out freecodecamp.
4
3
u/FreeLogicGate Oct 22 '26
Try again. All online tutorials do not tell you how to make a game. There are scores of free courses, books and systems that will teach you Python.
This is an excellent book, made available by the author online. You can learn interactively using the Chapter links which are Jupyter notebooks.
0
3
u/spendology Oct 22 '26
w3schools.com/python shows you fundamental principles in sequence. Ultimately, you need goals like input/output data, perform descriptive stats on data, creating a website or building a game to motivate you to learn and enable you to understand practical use cases.
2
4
u/Jello_Penguin_2956 Oct 22 '26
Learn from an actual Python course. MOOC is a free collage course from U of Helsinki
2
1
u/Academic_Print_3215 Oct 22 '26
Yo not gonna lie nothing worked for me until I committed to the Helsinki university python mooc. Everything u learn is applied right away in a exercises and u can even get college credit at Helsinki uni. Obviously most of us won't use it for the credit or certification but just doing it taught me so much through the beginner course and half of the advanced course.
1
2
u/notacanuckskibum Oct 22 '26
Programming is a skill like playing music. You learn to play the violin by playing it, not by studying how acoustics work
You have to think of that pointless game you are being asked to create like learning to play a simple song. But do it yourself, don’t get AI to do it for you.
1
u/desrtfx but other languages pro Oct 22 '26
This subreddit has a sidebar with a wiki with recommended learning resources.
Here is an excellent, textual course: MOOC Python Programming 2026 from the University of Helsinki.
Harvard's CS50p is also excellent.
Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com
Don't forget that you need ample practice, like on https://codingbat.com/python or on https://exercism.org and also write your own programs. Play around. Try things. Mess things up, fix them. Experiment.
1
u/Draccossss Oct 22 '26
I suggest you try to pick a project in Python that you are passionate about, and then ask an LLM to give you the specs of the projects and resources you need to look at while doing the project so you get the practice & the "theory" side all while actually creating something.
You can go very far with this and dive really deep
0
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:
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.
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.
Break things on purpose. Change a value, delete a line, make an error. See what happens and what the error message says.
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.
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.
7
u/BranchLatter4294 Oct 22 '26
Every single tutorial tells you to make a certain game?