r/learnpython • • 22d ago

Struggling to solve beginner tasks after learning Python basics

Hello! I've learned the basics of Python (variables, loops, conditionals, etc.), but I’m struggling to complete actual beginner tasks—things like counting vowels, "Fake Binary," calculating the sum of numbers, determining BMI, etc.

When I look at a task, my mind goes blank and I don't know how to start or turn the problem into code. Why am I unable to do these? What is the real issue here, and what exact study method or solution can help me overcome this?

I’m starting to lose my motivation and feel like giving up if I can't figure out how to bridge this gap. Any practical advice would really help!

3 Upvotes

19 comments sorted by

View all comments

1

u/johlae 22d ago

Let me guess, you learned by watching youtube videos? That doesn't work. You need to do exercises, lots of them actually.

Did you do https://cs50.harvard.edu/python/ or https://programming-26.mooc.fi/? These courses do have exercises. Go full Trump mode: drill, drill, drill.

1

u/ThinCreme1098 22d ago

That’s good, but I don’t know English well enough to be able to watch the video.