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...

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.