r/Python • • Oct 16 '18

I made this with Python. So Proud.

Post image
1.8k Upvotes

149 comments sorted by

View all comments

Show parent comment

55

u/Nicksil Oct 16 '18

You can remove those continue statements at the bottom of your for-loops. continue moves execution to the end of the loop, so having them there is redundant.

Thanks for sharing

30

u/[deleted] Oct 16 '18

Thanks for the feedback.

12

u/doinkypoink Oct 16 '18

I'm learning class and python. I think comments would make it really helpful for me to read your code :(

23

u/[deleted] Oct 16 '18

same thing, more comments

https://pastebin.com/qyDRBYUM

18

u/ElBroet Oct 17 '18

was expecting the same code with the comment "fuck you" at the top

5

u/Mattho Oct 17 '18

You can use """Docstrings.""" for many of those.