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


Groups > comp.lang.python > #79008 > unrolled thread

Re: while loop - multiple condition

Started byShiva <shivaji_tn@yahoo.com>
First post2014-10-12 17:21 +0000
Last post2014-10-12 17:21 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#79008 — Re: while loop - multiple condition

FromShiva <shivaji_tn@yahoo.com>
Date2014-10-12 17:21 +0000
SubjectRe: while loop - multiple condition
Message-ID<mailman.14795.1413134480.18130.python-list@python.org>
> 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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web