Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79008

Re: while loop - multiple condition

From Shiva <shivaji_tn@yahoo.com>
Subject Re: while loop - multiple condition
Date 2014-10-12 17:21 +0000
References <loom.20141012T190458-947@post.gmane.org> <CAPTjJmrPgTdysCnLcbMqYFiGGwg-wV_mjfw16Kt15_zuv_624g@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14795.1413134480.18130.python-list@python.org> (permalink)

Show all headers | View raw


> The loop will continue while either part is true - that's what "or"
> means. Is that what you intended it to be doing?
> 
> ChrisA
> 


Yes......however, the second part of the or condition doesn't get evaluated.
So if I enter a 'y' - I expect the second part to evaluate and the loop to
break - but that doesn't seem to happen.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: while loop - multiple condition Shiva <shivaji_tn@yahoo.com> - 2014-10-12 17:21 +0000

csiph-web