I'm relatively new to coding and currently learning Python. I have a basic understanding of programming concepts and can grasp patterns in my head, but I often freeze up when I try to write the actual code. I'm currently practicing with loops and conditional problems, but that's where I seem to get stuck the most. How did you all overcome similar challenges in your coding journey?
5 Answers
It sounds like you're more familiar with syntax than actual programming. The key is to transition your focus from just learning the rules to solving real problems. Try creating small projects, like a program to output all prime numbers up to 20 million or one that checks if a number is prime. Challenge yourself with different tasks—this will help you become more comfortable and build confidence.
Have you checked out any resources that assist with learning? Websites often have great lists of things to read or watch that can help—like the beginner guides on programming forums! And make sure to visit places like the Learn Python community for tips and support.
Don't forget that the hardest part of programming is breaking down problems into simpler components. You'll get stuck often, and that's totally normal! When that happens, I take a break, maybe go for a walk or grab some coffee. Giving your mind a little reset can work wonders.
I recommend using platforms like Codewars. You can choose the language you want to practice and pick problems of varying difficulty. It’s a great way to build your coding skills in a fun way!
Try building mini apps or solving simpler LeetCode problems regularly. Repetition is really key to improving your skills.

This is the way… tackling real problems is super helpful!