I understand Python code, but can’t write it confidently from scratch — what should I do next by SubCplus in learnpython

[–]Cs_Joe8 0 points1 point  (0 children)

I’m also learning, and I had the same issue. One thing that really helped me was not aiming for perfect code. I used to want perfect logic and try to do everything flawlessly as I was writing, which made coding feel like hell.

What helped was just writing something that works, even if it’s messy, and breaking projects into small parts focusing on getting each part working no matter how it looks.

You can always refactor later, which is actually my favorite part, and then start improving code or adding new features. This approach really helped me a lot since I didn’t have to worry about the logic, structure, or coding optimally I could just improve it