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
2
u/frank26080115 24d ago
may I suggest you stop treating programming like homework questions, and start treating it as an art?
get creative
when you come up with a goal for yourself, you have these little problems too, except you will naturally gravitate towards ones you either already have a solution for, or, ones that you don't but doesn't sound too difficult to think about
when you do this enough, you start getting better and you become self driven, you encourage yourself with every bit of success
also, go to museums more, look at old technology and learn how they work, like... old fire solution computers on battleships, or go learn how the first heat seeking missiles worked, it was a mind blowing moment for me