Hello everyone , I’m new here and I’m learning to code in Python . I want your advice of how not to get demotivated while programming . For example , whenever I don’t get the solution of a problem , I get overwhelmed ,frustrated and down , and I just don’t feel like coding for the rest of the day . Why is programming so hard ?


Anything worth doing is hard! That’s what makes it fun and interesting for me. When I try to code something and I feel lost or overwhelmed, I just remind myself that there must be a solution and it’s only a matter of time before I’ll find it.

Try to detach from the situation a bit and realize that getting stuck doesn’t mean you failed, because everyone gets stuck sooner or later. Getting stuck means you are trying and that’s important. Feel free to drop your questions here in the community and you will get helpful answers.


Hey there, welcome to the community :smiley:

I know exactly how you feel, but don’t worry, experiencing frustration while learning to code is normal. Just remember to take a break, and if you’re having trouble understanding a concept, don’t beat yourself up. It’s ok, we’re all here to learn. Just don’t give up.

I also wrote this article a while ago, it might help you out :upside_down_face:


Thank you so much . I’ll try my best

This isn’t something to get demotivated. We all feel the same. You need to understand that you won’t get the solution to problems in the first go every time you code.
Whenever you feel demotivated you just need to detach yourself from it. Read a book, go for a walk, scroll memes (share with us too if you find something really hilarious), do something else but just divert your brain off it. Then come back later and think of it from the start.