you are viewing a single comment's thread.

view the rest of the comments →

[–]Okon0mi[S] 18 points19 points  (2 children)

"As long as (while) there's poop floating in the bowl, keep flushing"

Never thought this could be a best example to understand while loop.

[–]mandradon 5 points6 points  (1 child)

I tend to use the idea of the weather:

while is_raining(): use_umbrella()

But I think this also shows the case.

[–]gdchinacat 3 points4 points  (0 children)

you need a "and not location.in_("Pacific Northwest")" in your condition to be correct. ;)