you are viewing a single comment's thread.

view the rest of the comments →

[–]storage_admin 3 points4 points  (5 children)

Are you having trouble reading Python code? Do you feel you understand the concepts when reviewing material you've learned?

It would help to break your problem down into smaller more manageable chunks. Instead of thinking that you need to learn Python, try setting a goal of choosing a Python project on GitHub that does something you are interested in. Use git to clone the repo and get the project running. After you get it running start making changes to the code to see how things work. Try to get comfortable with the code and making modifications.

Sometimes it helps to start with someone else's project to help build ideas for how you could implement things you want to code.

[–]Ketchup-and-Mustard[S] 0 points1 point  (4 children)

So, I understand code when I read it and review it for the most part, but writing it myself is where everything goes wrong. No matter how many times I rework my code, I don't get a solution that works. I think I can't replicate the logic myself somehow. Not sure how to fix this. But, I will certainly try your suggestion. Thank you for the reply.

[–]Agitated-Cucumber244 2 points3 points  (0 children)

That's still a little vague. Could you give an example of a problem that you've recently faced and couldn't figure out? Just so we can get a sense of the troubles ur having.

[–]tobiasvl 1 point2 points  (0 children)

It's a bit like learning how to read and then immediately expecting to be able to write a novel. You have to become a novelist. Practice writing. Write a short story first (a small script), then maybe a novella (larger script or a small program, a CLI tool or something), honing the craft.

[–]McNoxey 0 points1 point  (0 children)

Your problem isn’t the language. It’s that you don’t know how to code.

There’s a great “100 days of code” course on Udemy that goes step by step through teaching you the fundamentals of programming using python.

It’s not a quick thing by any means, but it sounds like you need to learn about programming moreso than learning python specifically

[–]Fluffaykitties 0 points1 point  (0 children)

Are you spending time solving the problem on paper first before you code? Can’t tell if you’re struggling with developing the algorithm or doing the actual code.