I'm trying to learn Python and have worked through several different resources, but I'm struggling to understand even basic loops. I can follow an explanation of what `for ... in` means, then a few exercises later I'm asked to generate something like the word "World" inside a box made from `-`, `+`, and `|`, and I have no idea how to begin. I end up looking up help for nearly every small task, which is making me feel frustrated and unintelligent. I've already completed some beginner exercises and small projects, but loops and breaking problems into steps still aren't clicking. Is this a sign that I should give up, or am I approaching the learning process the wrong way?
4 Answers
Don’t treat frustration or needing to search for syntax as proof that you’re failing. Experienced programmers look things up constantly. The important part is understanding the answer afterward rather than copying it blindly. Try sticking with one resource, slowing down, and practicing one concept at a time instead of switching between five courses.
Take a short break if you’re burned out, then return with very small experiments. Use the interactive Python shell to test things like `range(5)`, printing one character repeatedly, and changing a variable inside a loop. Write the steps in pseudocode before writing Python, and make tiny projects connected to something you actually care about. You don’t need to master everything at once, and it’s completely reasonable to decide programming isn’t enjoyable—but difficulty alone is not evidence that you can’t learn it.
The box exercise is really a problem-decomposition exercise, not just a loop exercise. Draw the output on paper and describe each row in plain language: print the top border, print the middle row with the word, then print the bottom border. After that, look for the repeated parts and turn those into loops. Breaking a large task into tiny instructions is a skill that develops with practice.
You’re not stupid—you may simply need a different learning setup. Some people learn well alone, while others benefit enormously from an instructor, structured class, or tutor who can immediately explain the exact point where they’re getting stuck. A teacher can also help correct gaps that online exercises sometimes gloss over.
That makes sense. I’ve been jumping between resources instead of having someone explain the gaps in my understanding.

I think that’s exactly what overwhelmed me. I was trying to jump straight from knowing the loop syntax to producing the whole pattern.