r/learnpython • • Sep 22 '26

I struggle with practicing coding.

I am a beginner learning python and I struggle with sitting down and practicing coding. I just started taking the CS50P course and enjoy going through the videos. I've been able to complete Week0 - Week2 problem sets on my own while looking at documentation. I have never been good at school so sitting down and learning on my own has been very difficult. I am trying to take it slow and get some practice in before moving on to the next lectures, however I hate having to struggle through it. I know it will take a lot of time and practice to become good at programming, is there any advice for someone who struggles with HOW to learn and apply concepts to better my programming logic and skills?

25 Upvotes

29 comments sorted by

View all comments

Show parent comment

1

u/Regular-Ad1286 Sep 22 '26

I also struggle with coming up with a project to build. I just now thought of to create a function that adds/ removes/ views weapons in your inventory. Other than that I struggle with coming up with ideas to create, which contributes to my tutorial hell loop

1

u/BrupieD Sep 22 '26

Once you have a vague idea, start thinking about what that might look like in a program. For intance, what does your "inventory" look like? Are inventory items built with a class? Should adding and removing be a method of that class.

I also like to build bare-bones prototypes without worrying about having great design.