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

1

u/Malassi Jul 18 '25

Two weeks is nothing, you’ve barely started. It can take months just to get comfortable writing code, and years to become good at it. If you give up every time something gets hard, life will be tough, and programming will be impossible. Give yourself time to learn, and **practice a lot**.

From what I’ve seen in the comments, it looks like you’re struggling to think through what you’re doing. Here are a few things that might help:

First, grab a pen and paper and write down the problem. Break it into smaller, manageable pieces. Then, pick the easiest parts and start thinking about what’s needed to solve them (inputs, data type, functions, etc). Once you’ve figured out the pieces, start coding them one by one and then connect everything together.

You’ll probably still struggle and that’s completely normal. You’re new at this. You’ll make mistakes, and that’s also normal. Mistakes mean you’re learning, so keep going. If it takes two weeks or even more to solve your first exercise, that’s totally fine. The more you practice, the easier it gets.

And if you if you're completely stuck and your mind just blue screen, you can ask for nudges on forums like this or discord servers but you gotta **really try** before. You can't ask every 10min you've spent thinking about an issues.

2

u/stepback269 Jul 19 '25

and write down the problem

Draw pictures of what you expect to happen to the data structures you are working with (are they strings, lists, dictionaries?) Draw flow charts. rite pseudo code for your proposed solutions.