while loop - multiple condition

Chris Angelico rosuav at gmail.com
Mon Oct 13 02:51:02 CEST 2014

On Mon, Oct 13, 2014 at 11:43 AM, Dennis Lee Bieber
<wlfraed at ix.netcom.com> wrote:
>         ONE: Python uses short circuit evaluation: for an OR, the second clause
> is only looked at if the first clause is FALSE (for an AND, the first
> clause has to be TRUE before the second is evaluated).

Short-circuiting doesn't actually matter here, incidentally. It could
be eagerly evaluated and nothing would be different.


More information about the Python-list mailing list