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


Groups > comp.lang.python > #79011

Re: while loop - multiple condition

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

Show all headers | View raw


Bit confusing to use in While loop - Should have used the 'and' condition
instead of OR- then it works fine.
for OR both condition need to be false to produce a false output and break
the loop.
More of SET operations.

Thanks,
Shiva

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:59 +0000

csiph-web