Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70070 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2014-04-10 19:09 -0400 |
| Last post | 2014-04-10 19:09 -0400 |
| 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.
Re: the logical operation confused me Terry Reedy <tjreedy@udel.edu> - 2014-04-10 19:09 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2014-04-10 19:09 -0400 |
| Subject | Re: the logical operation confused me |
| Message-ID | <mailman.9154.1397171398.18130.python-list@python.org> |
On 4/10/2014 7:02 PM, length power wrote: > >>> "ok" or "not ok" > 'ok' > >>> "ok" and "not ok" > 'not ok' > >>> > > why "ok" or "not ok" output "ok" , "ok" and "not ok" output "not ok" ? This is explained in our fine manual. https://docs.python.org/2/reference/expressions.html#boolean-operations -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web