Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6465
| From | bch <bch.itbgcthate@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: and becomes or and or becomes and |
| Date | 2011-05-28 05:27 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <22197160-095a-4285-8dc4-1814e00a8181@s41g2000prb.googlegroups.com> (permalink) |
| References | <mailman.1925.1306092188.9059.python-list@python.org> <j24jt6ljbqo1au73alobito5v4284a75lk@4ax.com> <4dd9aaac$0$29996$c3e8da3$5496439d@news.astraweb.com> <71ab1ccc-c2c0-474f-b7bb-1000754317e4@z13g2000prk.googlegroups.com> |
On May 23, 11:30 pm, rusi <rustompm...@gmail.com> wrote: > On May 23, 5:30 am, Steven D'Aprano <steve > > > > +comp.lang.pyt...@pearwood.info> wrote: > > On Sun, 22 May 2011 15:39:33 -0700, Tim Roberts wrote: > > > Stef Mientki <stef.mien...@gmail.com> wrote: > > > >>must of us will not use single bits these days, but at first sight, this > > >>looks funny : > > > >>>>> a=2 > > >>>>> b=6 > > >>>>> a and b > > >>6 > > >>>>> a & b > > >>2 > > >>>>> a or b > > >>2 > > >>>>> a | b > > >>6 > > > > That IS funny. Interesting how a careful choice of arugments will fool > > > us. One of my favorite math jokes is like that. A teacher asked a > > > student to reduce the following fraction: > > > 16 > > > ---- > > > 64 > > > > He says "all I have to do is cancel out the sixes, so the answer is > > > 1/4". > > > One of my favourite variations on this is by Abbott and Costello, where > > Costello proves that 13*7 = 28 in three different ways. > > >http://www.youtube.com/watch?v=rLprXHbn19I > > Ha Ha! [You're hired Steven] And of course, a programmer cannot tell the difference between Halloween and Christmas day.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
and becomes or and or becomes and Stef Mientki <stef.mientki@gmail.com> - 2011-05-22 21:23 +0200
Re: and becomes or and or becomes and Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-22 23:57 +0200
Re: and becomes or and or becomes and Terry Reedy <tjreedy@udel.edu> - 2011-05-22 18:14 -0400
Re: and becomes or and or becomes and Tim Roberts <timr@probo.com> - 2011-05-22 15:39 -0700
Re: and becomes or and or becomes and Chris Angelico <rosuav@gmail.com> - 2011-05-23 09:28 +1000
Re: and becomes or and or becomes and Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-23 00:30 +0000
Re: and becomes or and or becomes and rusi <rustompmody@gmail.com> - 2011-05-23 08:30 -0700
Re: and becomes or and or becomes and bch <bch.itbgcthate@gmail.com> - 2011-05-28 05:27 -0700
Re: and becomes or and or becomes and Chris Angelico <rosuav@gmail.com> - 2011-05-28 22:50 +1000
Re: and becomes or and or becomes and Nobody <nobody@nowhere.com> - 2011-05-28 14:31 +0100
Re: and becomes or and or becomes and Chris Angelico <rosuav@gmail.com> - 2011-05-29 00:04 +1000
csiph-web