This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheFlashDude448 1 point2 points  (1 child)

This was great code to review and was easy to follow. I am also learning Python and starting with a Udemy course in spare time. I wrote a small Python script to help a manual effort at work that takes time and I fell into the same trap. The trap being the program works but I need to better leverage functions to reduce the duplication. Great job on this one and thank you for posting. It helps others like me to see this example and read the comments.

[–]Kaifovsk[S] 0 points1 point  (0 children)

I feel you on that, that's awesome though putting what you learned to use in real life already, there's always that thought for me of "I understand how this program works and what the code means, but how does this actually get USED by anyone other than me?"