Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #69940
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <elearn2014@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.108 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.80; '*S*': 0.01; 'insert': 0.05; 'skip:w 80': 0.16; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:the': 0.34; 'received:google.com': 0.35; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:w 30': 0.69 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7Rilfg3hoc8n41kZ5enoOEC+MCGMy5hVjvOSkJaNqQU=; b=WhBBDrdgg8VvOrWFhorp9l5cFF0qw7VPjEeqLcEAJMQP3QtJUtkC8wBLCjwlmL4Abn gPYZ+CR832fmn2kJJyeX9XW62nOxSGdAldkz9gkKW1CrEu71LGKOSG0seYMMDXrv9JP7 TyOmpvSIkb26WDJvhofAbMBvjGN1SRnCzP6OhgvJuquAUYpWuLNHYY0UY5+4+95crY2m U8CXnTuiICN7hkeuznMV7AxxH6qDyvmNFkSWg/vjTord4urVK8uCg8Xzm7UqqTHzM0SA gXiImJoBmJ2vDlEAvc4mF2ng+/5HQoz5sF2COM4kizVXkvQXWdDumBtcJ69v+ZMTV1mu qiAA== |
| MIME-Version | 1.0 |
| X-Received | by 10.112.35.130 with SMTP id h2mr6281110lbj.15.1397033845779; Wed, 09 Apr 2014 01:57:25 -0700 (PDT) |
| Date | Wed, 9 Apr 2014 16:57:25 +0800 |
| Subject | how to insert the elements in a list properly? |
| From | length power <elearn2014@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=001a11c3735a1df07d04f6984a34 |
| X-Mailman-Approved-At | Wed, 09 Apr 2014 12:25:26 +0200 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9065.1397039127.18130.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1397039127 news.xs4all.nl 2897 [2001:888:2000:d::a6]:59959 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:69940 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
word=["x1","x2","x3","x4","x5"] w=word[-2:] del word[-2:] word.insert(2,w) word ['x1', 'x2', ['x4', 'x5'], 'x3'] what i want to get is ['x1', 'x2', 'x4', 'x5', 'x3'] how can i insert them ?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
how to insert the elements in a list properly? length power <elearn2014@gmail.com> - 2014-04-09 16:57 +0800
csiph-web