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


Groups > comp.lang.python > #51275

Re: Hello Everyone! A simple questions!

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '[0,': 0.09; 'question?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'expecting': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:questions': 0.16; 'subject:simple': 0.16; ':-)': 0.16; 'do,': 0.16; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'values': 0.27; 'header:X-Complaints- To:1': 0.27; 'code': 0.31; 'writes:': 0.31; 'next': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'more': 0.64; 'subject:Hello': 0.72; 'subject:! ': 0.74; 'kid': 0.91; 'philips': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Hello Everyone! A simple questions!
Date Fri, 26 Jul 2013 13:14:52 +1000
References <CAF0POcuNvJnciWuD4a+CYtJ3XWC+nQZdt0VF08=PD8htKyr_iQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host rasputin.madmonks.org
X-Public-Key-ID 0xBD41714B
X-Public-Key-Fingerprint 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-gpg.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:Izhvr3DzUaZ4O/b7Ypr14Yi/wRg=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5128.1374808507.3114.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374808507 news.xs4all.nl 15961 [2001:888:2000:d::a6]:39385
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51275

Show key headers only | View raw


Thanatos xiao <yanxiaopei199@gmail.com> writes:

> >>> values = [0, 1, 2]>>> values[1] = values>>> values[0, [...], 2]
>
> why??

Because. :-)

Did you have a more specific question? What exactly are you expecting
that code to do, and what is the surprise?

-- 
 \          “I was the kid next door's imaginary friend.” —Emo Philips |
  `\                                                                   |
_o__)                                                                  |
Ben Finney

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


Thread

Re: Hello Everyone! A simple questions! Ben Finney <ben+python@benfinney.id.au> - 2013-07-26 13:14 +1000

csiph-web