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

7

u/msdamg Jul 18 '25

Just keep practicing

1

u/Impossible-Budget371 Jul 18 '25

But when I see problems I go blank like I can't tackle it or build logic ... I do solve some but those are easy ones...

4

u/msdamg Jul 18 '25

Just keep practicing 

3

u/Glass-Software-5800 Jul 18 '25

It’s purely exposure. Just keep fuckin around and finding out, honestly. While in college, it seemed that the worst performing people in my classes were simply overcomplicating things.

The hard thing about programming is NOT the syntax; any language will do. The hard part is building the ability to recognize patterns and learning how to break problems into manageable pieces— this can also be subjective, because folks approach problems differently right. Idk.

Just keep reading and exposing yourself to problems. 2 weeks is nothing, be kind to yourself.

1

u/schoolmonky Jul 18 '25

You can solve easy problems, that's good. The trick to solving hard problems is to break them into smaller pieces. If those pieces are easy problems, then you can solve them. If they're still hard, break the pieces down into sub-pieces. etc etc

Also, drawing a blank when you come up against a hard problem is normal. When you find yourself feeling that way, let it be the signal to yourself to break the problem down. Look for some small part of the larger issue that you can solve just that one bit.

1

u/mystified5 Jul 18 '25

There isnt anything wrong with not knowing, the real problem is if you feel so helpless you throw your hands up and take no action.

Take what you dont know and turn it into a challenge to learn. Break it up into small stepa, solving each sub problem will give you a little dopamine boost to keep you going!