r/learnpython • • Jul 18 '25

Help me please I can't code!

Hey fellas ! I started learning coding 2 week back , I'm a non math kid so i tried learning python from scratch and i was learning things like operators data types functions if else elif loops etc .. than i started write codes those task code which my online yt teacher asked us to do but I can't code tht like I can't create logic on my own thn I used to watch the answer thn I think man i could have done tht it's so easy I'm dumb it's like I know what python syntax is everything about it but I can't code on my own other than some simple stuff. Should I drop it? Or carry on ? It's been 2 weeks I have watched around 10hrs of content... please help me.

0 Upvotes

46 comments sorted by

View all comments

25

u/dwe_jsy Jul 18 '25 edited Jul 18 '25

You’ve just summed up what having experience is versus not and the only way to get experience is by building it slowly and in steps over a prolonged and ongoing timeframe. Carry on and stop being like 99% of the world that don’t have resilience to take some failures and turn them in to learning opportunities.

If you can crate a function that takes something like an array of words as a parameter and another word to find as another parameter and iterate over the array to return a Boolean if that word exists… you can code as a full time job if you put the time in to continuing building your understanding

2

u/Impossible-Budget371 Jul 18 '25

So i just keep coding even if i have to watch tutorials etc? To solve some logics?

5

u/PerdHapleyAMA Jul 18 '25

Yes. Think of something simple that you CAN do. Then expand on it: what else could you do with it if you knew how? Take it step by step, learn, and apply.

Slowly you end up with a knowledge base that you can then apply to solve problems. It’s easier when you have a project to work on.

1

u/dwe_jsy Jul 18 '25

Not sure how you learn as it is personal but break the problem down to the smallest steps you understand then start to fix those steps. You’re also in an amazing era of having on demand teachers at your desk - AI! Use chatGPT as a Socratic teacher and challenge your understanding of how things work and ask you to explain your understanding. Also rubber duck (google the meaning) off AI to see solutions, replicate and see how it fits your needs and overall process

1

u/dwe_jsy Jul 18 '25

Also I say this as a guy that spent 3 months at 30 Picking up python out of necessity to solve a real complicated work issue with multiple systems and APIs and spent c. 16 hours a day for the first 2 weeks getting a prototype and understanding WTF an API is.

I’m now 39 and manage 4 engineers for a high growth SaaS business overseeing our integration strategy with 900+ global business using our product and 120+ integrations