r/learnpython • • 17d 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!

4 Upvotes

19 comments sorted by

View all comments

1

u/SprinklesFresh5693 11d ago

You need more practise, thats it.

Face errors, get used to them, and learn from mistakes. Theres not much else other than practise and googling what you dont understand. Maybe looking for a free book online , but thats it.

1

u/ThinCreme1098 11d ago

Everyone tells me that, but how am I supposed to get practical experience?

1

u/SprinklesFresh5693 10d ago

First, why are you learning python, what do you plan to do with the language? Thats the first question, based on that we can help you

1

u/ThinCreme1098 10d ago

For many purposes—such as data science, data analytics, working with schemas and scripts, and creating bots, among other things.

1

u/SprinklesFresh5693 10d ago edited 10d ago

Great, so numeric analysis and bots. Now you have your end goal.

Now to get better , why not do some analysis of a field youre interested in, and try learning how to create a bot?

Just open the notebook, or whichever ide you use, get a dataset and start thinking, what outcomes do i want to see from this data, how doesit look like, what are the tendencies, etc.

On the other side, think of a bot you want to create, and google how to create a bot, and do some research and code yourself both projects. Dont copy paste what AI gives , look at forums, look at documentation, and think.

Now you will get errors, you will get stuck, but dont worry! Everyone feels the same way when they are starting out, but as you do more and more projects, things will stick, and youll start understanding more about the language and about what conclusions youre looking for, and how to obtain them progrmaming, you dont need to learn everything about a language, specially one so broad as python, just start by learning only what you need for a job on the field youre interested in, data science and bots, and only expand when you have a good understanding of those conceps, and only if you want to, again, you dont need to know everything about a language. Furthermore, keep reading articles, books, watching some videos (you dont really need to follow the video coding, just get the ideas and concepts to later expand on them yourself, because you would already know the basics, after knowing the basics you dont really need to follow the tutorial coding everything yourself, just think about the concepts and try to apply them on your field), to keep getting in concepts and ideas about python. Id really suggest you follow people that use python and that post regularly on linkedin, ive learnt a lot from those, although in R, not python, but the same idea applies here.

Then start applying for jobs, and the moment you find one that uses python, you will find yourself using it all day everyday, getting stuck, researching and progressing, but again, dont copy paste what AI gives you because that way you wont learn much though.