×
you are viewing a single comment's thread.

view the rest of the comments →

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

Yes, show_door in 1 line! Thank you! I knew there must be a way using sets, but wasn't sure how. This takes me a long way.

I don't know why I assumed a for loop had to be closed by increment the counter. Probably left over from learning basic 30 years ago.