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


Groups > comp.lang.python > #76922

Re: Simple question

Newsgroups comp.lang.python
Date 2014-08-23 22:55 -0700
References <ca0167cc-49d3-4e58-9fc0-e80550ee2bcf@googlegroups.com>
Message-ID <d88ee391-69b0-4ada-a9de-376c9f315aa9@googlegroups.com> (permalink)
Subject Re: Simple question
From John Ladasky <john_ladasky@sbcglobal.net>

Show all headers | View raw


On Saturday, August 23, 2014 6:10:29 AM UTC-7, explode...@gmail.com wrote:
> Can some one explain why this happens:
> 
> True, False = False, True
> 
> print True, False
> 
> False True

Shush!  That's one of Python's most closely-guarded secrets!  Every politician on Earth will want to learn to program in Python after seeing that!

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


Thread

Simple question explodeandroid@gmail.com - 2014-08-23 06:10 -0700
  Re: Simple question Chris Angelico <rosuav@gmail.com> - 2014-08-23 23:19 +1000
  Re: Simple question Peter Otten <__peter__@web.de> - 2014-08-23 15:26 +0200
  Re: Simple question "ElChino" <elchino@cnn.cn> - 2014-08-23 15:31 +0200
  Re: Simple question John Ladasky <john_ladasky@sbcglobal.net> - 2014-08-23 22:55 -0700
    Re: Simple question Chris Angelico <rosuav@gmail.com> - 2014-08-24 16:22 +1000

csiph-web