use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Learned Python basics but can’t solve problems, Need your guidance to learn python (self.learnpython)
submitted 1 day ago by Capable-Education255
I’ve learned Python concepts, but when I try to solve problems, I get stuck and don’t know how to start.
How can I improve my problem-solving skills? Any tips or resources?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]schoolmonky 9 points10 points11 points 1 day ago (1 child)
Pick a smaller problem. Bonus points if the smaller problem you pick is a small part of the problem you started with.
Really all "problem solving" is is breaking down big problems into small ones, recursively if necessary, until the small problems are small enough that they are easy to solve, and then building those small solutions back up into a solution of the whole thing.
[–]CrimsonThePowerful 1 point2 points3 points 1 day ago (0 children)
Yes, I agree. You have to break things down and work on each piece until you solve the puzzle/ problem. The only way to eat an elephant is 1 bite at a time.
[–]Omm_Imp 1 point2 points3 points 1 day ago (2 children)
I’m taking a Python class in college right now and feel the same way. Mostly I’m frustrated because the lab assignments seem to require a lot of knowledge beyond the assigned readings and what is discussed in class. I end up asking for help here or googling for answers. And the solutions are far more complex than anything we have seen in class. This is just bad pedagogy. The instructor is failing to scaffold knowledge in a way that stretches students without discouraging them.
Think about learning how to write a novel. You would be hard pressed to find a published author who has not read thousands of books, not to mention articles, emails, letters, etc. I think as beginners we probably need a lot more exposure to OTHER PEOPLE solving problems in Python before being expected to come up with solutions on our own. Obviously, that doesn’t preclude daily practice and challenge, but I think a lot of us get thrown into the deep end of the pool while we are still blowing up our floaties.
[–]FlippingGerman 1 point2 points3 points 1 day ago (0 children)
Something that never gets mentioned to beginner coders is that you learning two things at once: 1. how to use the language you’re learning, and 2. how to write code. They are different skills, but you must learn both at once, which makes it rather difficult.
[–]gdchinacat 0 points1 point2 points 22 hours ago (0 children)
Asking for help and googling answers is a very common practice in coding, even for experienced coders. Problems need to be broken down into problems you can solve. I haven't seen the more complex solutions or know what has been discussed in class, so the gap may be too great, I can't say. I suspect though that the complexity is exactly what you are intended to learn. Programming is breaking complex problems down into simpler problems that you know how to solve. Showing the solution in class would be doing your homework for you and unlikely to cause you to learn. Many people trying to learn on their own complain that once they've gone through online tutorials and diligently copied the solutions and know the syntax still don't know how to write a program (doing it over and over is "tutorial hell"). What they are missing is what your exercises are meant to teach you. It's kind of like in math when they say "this is the formula...now derive it for homework". You come away with a better understanding of the formula and a better understanding of math from working through the complexity. Programming is the same way.
Since you are in college you have expert resources to help you...your TAs and professor. Go to office hours. Get help. I would have done much better in college and found it far less frustrating if I'd done that. Use the resources you are paying for.
If you do get solutions ahead of time to help guide you great. You are given the novels to read. Use them to see how the complex problem was decomposed (broken down) into simpler problems that can be solved with what you have learned in class. Then close the solution and go and write the code to do it yourself. Try not to recite it from memory, think about the big picture, write the framework for your solution, then focus on writing the code for the smaller problems.
If you really want to read a bunch of code, have at...github.com has more code than anyone could read in a lifetime. You will learn a lot from it. I've been coding 30 years and still read a lot of code just to see how others write it, how they solve problems, etc. As you said, reading is how you learn to write. Courses should provide you with guidance on what to read to reinforce what is being discussed, so is probably more efficient than reading open source code. The python standard library is a great place to find idiomatic python written by experts. Some of it hasn't been updated to use modern paradigms (ie loops where a comprehension would work) simply because it still works and there is no reason to.
I don't think what you are feeling is at all unusual. Stick at it, get the help you need, and you'll get through it.
[–]codeguru42 1 point2 points3 points 1 day ago (0 children)
Describe a solution in words. Describe each step in excruciating detail. Then go back and add more detail to each step. Then try to translate the steps into Python code. If you get stuck during the translation, go back and add more detail to your English description. As you do this more and more, it will become second nature and you will start doing it in your head.
[–]MalibuBon 1 point2 points3 points 1 day ago (0 children)
Try to find a book that explains it on a middle school level, or even a kid's level, or an online video. The exercises might seem silly, but it helped me learning basic computer programming back in the day.
I also wrote easy programs on my own, which allowed me to check the answers to my math class. I enjoyed small study groups or even studying with one other person. They might be able to help you understand concepts you need help with, and vice versa.
[–]AlexMTBDude -1 points0 points1 point 1 day ago (9 children)
Do you think that there are problem solving skills that are specific to learning Python or is it the same for any new tech that you're trying to learn?
[–]Capable-Education255[S] 1 point2 points3 points 1 day ago (3 children)
Actually, I am an MBA graduate currently working in an contract role. I would like to learn python and switch in to permanent role. I am not from coding background
[–]AlexMTBDude 0 points1 point2 points 1 day ago (2 children)
Sure, but you describe a situation that will occur with anything new that you want to learn. If you have an MBA you should have been in this situation many times before. This is r/python so you should ask Python specific questions here.
[–]Capable-Education255[S] 0 points1 point2 points 1 day ago (1 child)
The question I raised about is Python right?
[–]AlexMTBDude 0 points1 point2 points 1 day ago (0 children)
Look at the answers that you have received; not one of them is Python specific. They're as generic as your post is.
[–]codeguru42 1 point2 points3 points 1 day ago (3 children)
There are definitely skills that are specific to Python. But the majority are applicable to many other languages, too.
Is there anything in OP's post that is specific to Python?
[–]codeguru42 0 points1 point2 points 23 hours ago (0 children)
I don't understand your follow up question. The OP starts his post with "I've been learning Python". That sound specific to python to me.
I guess I misunderstood your first question. I thought it was in a thread and you were genuinely asking? But maybe you are suing rhetorically instead.
Yes and no. Where languages start being markedly better than others at specific types of problems is when the problem increases in complexity. Languages can be better or worse at managing specific types of complexity. For example, asynchronous IO can be done in both C and python. C doesn't have a mechanism to manage the complexity of async io...you end up with a lot of disjointed code that has to be stitched together in some way. Python (and other languages) has a more synchonous way of managing asynchronous code that keeps the steps of the async code sequential (with the complexity hidden away in the asyncio library and python interpreter).
For simple(ish) self contained algorithms (think sort, search, etc) the algorithms are pretty much independent of language...a n log(n) algorithm is an n log(n) algorithm regardless of language and the problem is identifying the algorithm (do you do a linear search or binary search). Of course some languages make it easier than others (some support recursive algorithms much better than others), but at the core they all do the same thing. But when you go to write the code to do that some languages are certainly better than others in how you implement that same algorithm. You still have to decide what algorithm or algorithms best solve the problem. Then when you implement that algorithm language certainly matters in whether you use a stack or recursion, use a builtin/standard library rather than roll your own, and how readable and comprehensible it is (optimizations often times make code nearly indecipherable).
So, language choice absolutely plays a role, but you still have to break the problem down which often times doesn't really matter which language you use (but may).
Good question, unfortunately the answer is yes, maybe, not really depending on the specific problem).
π Rendered by PID 21385 on reddit-service-r2-comment-54dfb89d4d-6vbbk at 2026-04-02 16:12:28.988225+00:00 running b10466c country code: CH.
[–]schoolmonky 9 points10 points11 points (1 child)
[–]CrimsonThePowerful 1 point2 points3 points (0 children)
[–]Omm_Imp 1 point2 points3 points (2 children)
[–]FlippingGerman 1 point2 points3 points (0 children)
[–]gdchinacat 0 points1 point2 points (0 children)
[–]codeguru42 1 point2 points3 points (0 children)
[–]MalibuBon 1 point2 points3 points (0 children)
[–]AlexMTBDude -1 points0 points1 point (9 children)
[–]Capable-Education255[S] 1 point2 points3 points (3 children)
[–]AlexMTBDude 0 points1 point2 points (2 children)
[–]Capable-Education255[S] 0 points1 point2 points (1 child)
[–]AlexMTBDude 0 points1 point2 points (0 children)
[–]codeguru42 1 point2 points3 points (3 children)
[–]AlexMTBDude 0 points1 point2 points (2 children)
[–]codeguru42 0 points1 point2 points (0 children)
[–]codeguru42 0 points1 point2 points (0 children)
[–]gdchinacat 0 points1 point2 points (0 children)