Am I Just Not Cut Out for Learning Python?
Asked by
3D_mesh_edit
I'm trying to learn Python and have worked through several different resources, but I'm struggling badly with loops. I often need to look up help for even small exercises, and one assignment asked me to print the word "World" inside a box made from characters like -, +, and |. I couldn't even figure out where to begin, which left me incredibly frustrated.
I've learned some basics and completed exercises involving things like a travel weather planner, a discount function, and a cipher, but loops still don't feel intuitive beyond the simplest examples. None of the resources I've tried seem to explain things in a way that clicks. Does this mean I'm not smart enough for programming, or should I change how I'm learning?
Answers
Donโt treat frustration as evidence that youโre failing. Programming is mostly learning how to break a large problem into tiny, manageable steps. For the box exercise, draw the result on paper and describe each row in plain language first: top border, middle rows, bottom border. Then figure out how a loop can repeat the parts that have the same pattern. The difficult part may not be the loop itselfโit may be learning how to decompose the problem.
Reply to this answer
A break might help if youโre burned out. Come back with one small goal and practice it until it feels familiar before adding another topic. Itโs also worth connecting the exercises to something you actually care about, since solving a meaningful little problem is often easier than completing abstract drills. Whether you continue is up to you, but struggling with loops is not proof that youโre incapable of learning programming.
Reply to this answer
Try writing pseudocode before writing Python. For example: create a function that receives two numbers, add them, and return the result. Then translate each line into actual code. With loops, start with something tiny in the interactive shell, such as repeating a print statement a few times, and change one thing at a time. Donโt copy a complete solution and move onโexperiment with it, deliberately break it, and see what changes.
Reply to this answer
Itโs okay to decide programming isnโt something you enjoy, but thatโs different from being too stupid to do it. Give yourself a fair test first: choose one clear learning path, slow down, practice regularly, and get help from a teacher or tutor if possible. Also remember that searching for syntax and examples is part of normal programming; the goal is gradually understanding what you find, not memorizing every detail.
Reply to this answer
Youโre not stupidโyou may just be trying to learn in a way that doesnโt suit you. Some people do much better with an instructor, tutor, or structured class where they can ask questions and get immediate feedback. Looking things up is also completely normal, even for experienced programmers. Try sticking with one resource for a while instead of jumping between five, and give yourself enough time to practice each concept.
Reply to this answer
Add your answer
Answers are reviewed before publication.
3D_mesh_edit: That makes sense. I was assuming the exercise was testing whether I knew loops, but I couldnโt even work out how to describe the output row by row.