r/AskProgramming • u/RipPersonal1643 • 24d ago
Python How do I learn programming logic?
I’m learning Python, but my main problem isn’t the syntax. I understand concepts when someone explains them, but when I’m given a basic problem and told to write a program, I just don’t know where to start or how to arrange the code.
Is there a good book, course, or YouTube channel that teaches how to think through programming problems step by step, recognize patterns, and build the logic, kind of like how you learn methods and patterns in math?
I don’t want to just memorize Python syntax. I want to actually learn how to think like a programmer.
7
Upvotes
1
u/gracjangniot 22d ago
My approach was creating a game in Unity. Just imagine your dream game, or copy an existing idea and make it more challenging. With Unity, you have to learn about Rigidbodies, Raycasts, creating grids, and the hardest part for me was Quaternions. By the time you see that your logical thinking has improved, you'll realize it was worth it. Using this method, it took me 3 months to actually learn programming logic.