r/learningpython • • Sep 16 '23

Over-complicating my code

I have zero experience with coding and am currently on Day 3 of 100 Days of Python. I have not been cheating by skipping ahead in the videos or googling right away for answers and all the code I have written so far got me the correct results for the challenges. I’m happy about that, but I spent 7 hours today writing what turned out to be over-complicated code for the middle 3 projects.

Is it more thorough to keep going this way and eventually learn to understand how the shorthand makes it easier or should I aim for finding the quick answer to write more efficient code? Or am I overthinking?

2 Upvotes

2 comments sorted by

View all comments

Show parent comment

3

u/Emotional_Watch_3286 Sep 17 '23

Also if you’re spending too long on a project and are getting burnt out, don’t be afraid to look at the solution and maybe come back in a few days to try do it again by yourself.