Hi,

please don't top-post.


Todd Matsumoto wrote:
> I don't understand how the while loop efficiently tests if the list is
> empty.

It doesn't. It only tests a condition. And the result of the condition is
determined by the list itself, which knows if it's empty or not.

Stefan

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to