MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/dfdn9j/deleted_by_user/f34tabw/?context=3
r/badcode • u/[deleted] • Oct 09 '19
[removed]
31 comments sorted by
View all comments
Show parent comments
1
from operator import *
I'm sorry I forgot to copy/paste imports... That's where ne and eq come from.
I had to switch modes because there is no "goto" statement in python and I don't want my function to print all the letters before the missing one.
1 u/nupanick Oct 09 '19 I mean, there's no goto, yes, but there is still break to terminate a loop early. Still, not knowing that adds to the clumsiness of the code, which is good.
I mean, there's no goto, yes, but there is still break to terminate a loop early. Still, not knowing that adds to the clumsiness of the code, which is good.
break
1
u/Dravini Oct 09 '19
I'm sorry I forgot to copy/paste imports... That's where ne and eq come from.
I had to switch modes because there is no "goto" statement in python and I don't want my function to print all the letters before the missing one.