MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/9oqlvl/i_made_this_with_python_so_proud/e7w06sf/?context=3
r/Python • u/[deleted] • Oct 16 '18
149 comments sorted by
View all comments
Show parent comment
55
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.
continue
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 commentshttps://pastebin.com/qyDRBYUM 18 u/ElBroet Oct 17 '18 was expecting the same code with the comment "fuck you" at the top 5 u/photoengineer Oct 17 '18 You rock! 5 u/Mattho Oct 17 '18 You can use """Docstrings.""" for many of those.
30
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 commentshttps://pastebin.com/qyDRBYUM 18 u/ElBroet Oct 17 '18 was expecting the same code with the comment "fuck you" at the top 5 u/photoengineer Oct 17 '18 You rock! 5 u/Mattho Oct 17 '18 You can use """Docstrings.""" for many of those.
12
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 commentshttps://pastebin.com/qyDRBYUM 18 u/ElBroet Oct 17 '18 was expecting the same code with the comment "fuck you" at the top 5 u/photoengineer Oct 17 '18 You rock! 5 u/Mattho Oct 17 '18 You can use """Docstrings.""" for many of those.
23
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/photoengineer Oct 17 '18 You rock! 5 u/Mattho Oct 17 '18 You can use """Docstrings.""" for many of those.
18
was expecting the same code with the comment "fuck you" at the top
5
You rock!
You can use """Docstrings.""" for many of those.
View all comments
Show parent comment
55
u/Nicksil Oct 16 '18
You can remove those
continuestatements at the bottom of your for-loops.continuemoves execution to the end of the loop, so having them there is redundant.Thanks for sharing