r/learnpython • • Oct 30 '26

Frustrated! Need help

Hey, I've been trying to learn python for a long time now and I still can't understand and write codes on my own. I've watched and completed 2 courses where they cover fundamentals like functions, operators, lists, tuples etc.. but I don't understand what to do with that like if I want to build something i never understand how and from where I need to start

17 Upvotes

19 comments sorted by

View all comments

1

u/MezzoScettico Oct 30 '26

It's one thing to see how somebody else used a concept, like tuples, to solve a problem.

It's a different skill to have a problem and realize "oh, tuples would solve this." That's only going to come from when you first start using tuples to solve that problem and succeed. That could come from asking a question here, or otherwise inspecting other people's code.

If you're struggling with the basic structure of a program, which it sounds like you are, I would say start with how you'd do it by hand. Figure out the steps you'd follow with pencil and paper. Then you need to translate that into steps in a program.

Often the verbal description gives you a clue. With enough practice, whenever you described a step as "keep asking the user for input until it passes this test," then you'll recognize that a while loop solves that, and you'll know what to put in the while loop.

It's hard to give verbal advice, and reading advice won't really get you there any more than reading a book on programming will. You have to write programs, and at first it's going to be slow. But there's lots of help on the internet. By all means give your favorite example here of something you want to write, and where you're stuck.