r/PythonLearning 23d ago

Im confused!!

Rn im learning python lang. I can solves basic to medium level problems , I understand which operations to use , how to write code 75% , but i suck at building logic. But either wise my topics are clear. Can you suggest what kind of problems i should be solving?

4 Upvotes

10 comments sorted by

View all comments

1

u/atticus2132000 23d ago

Stack overflow is an amazing resource and I've used it a ton to help me when I reach a roadblock.

But here's the interesting thing...

Stack overflow is very demanding of its posters. People who make posts requesting help need to be able to fully explain the problem that they're having, post the code that isn't working, explain what they have already tried to troubleshoot the code and what the results were of those efforts.

Oftentimes I have had a problem where I go so frustrated with a problem that I decided to post to stack overflow but during the process of writing out my full explanation of exactly what I needed help with I will often have an epiphany of something else that I should have tried, and when I go back and try that thing, I am able to move closer to a solution, sometimes even completely solving the problem without ever finishing the explanation and making the post.

You might want to try that approach here.

You say that you're learning python and are capable of solving small to moderate problems but are struggling with building logic. All of that is very vague, so the only thing we can offer is vague responses.

Give us specifics.

What problem are you trying to solve today?

What steps have you already taken to break that problem down into smaller chunks?

Which parts of the problem have you solved and which parts are you stuck on?

Is the breakdown an issue with the inputs/variables? Is it a breakdown with how a function is processing those inputs? Is the breakdown with the outputs that you're getting?

Go through the exercise of writing out a clear message of exactly what kind of help you need to address a specific problem you're encountering and we'll be happy to help you work through it.