Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41968
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <spaxe85@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.079 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.02; 'cc:addr:python-list': 0.11; 'email addr:hotmail.com>': 0.16; 'from:addr:xavierho.com': 0.16; 'from:name:xavier ho': 0.16; 'loops': 0.16; 'nest': 0.16; 'possible?': 0.16; 'reverses': 0.16; 'sender:addr:spaxe85': 0.16; 'subject:make': 0.16; 'subject:run': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'run': 0.32; 'url:python': 0.33; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'url:mail': 0.40; 'march': 0.61; 'header:Reply-To:1': 0.67; 'reverse': 0.68; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:contact': 0.84; 'subject:you': 0.87; '***': 0.95; '2013': 0.98; 'to:addr:hotmail.com': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:reply-to:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=6gF8lQiHQBkoG6x3pcmeJSDN2e59Sx/i5jaVpv6plM8=; b=Wu9J/h1p02wEkA0K9ElTa5Des5ePVpcNbdlj6hgOHKiiT7F+mVKYSvRqjO1y9giYlg ERY3fpXfW46XxHpjVPQeN1w5PDfwTkbGQR3OUx3WUQ9VwCDdKB4IomC4cTDjr4ABu3DZ P33Rr9/F4Otm9IaDuewNhAhIIV4FvCu5o4QMCuDK+Mll+KlNixlxq10qhZyk8RdIezXj Ulxho4S8oeUp6s3VADno1rJfEcYK5M8zGYGDlStioz+gkQpeyN7axPDCBPEgoBhJ87d6 zBlkUvYfD9Lebv0xXpbQwyEiLA34xEV7VdWQr1AJ4zYpltzusPwcCHoZKFTvsR6o1707 e5rg== |
| X-Received | by 10.52.75.65 with SMTP id a1mr18017546vdw.79.1364343604585; Tue, 26 Mar 2013 17:20:04 -0700 (PDT) |
| MIME-Version | 1.0 |
| Sender | spaxe85@gmail.com |
| In-Reply-To | <fb693612-418f-459e-9141-6f837368cfd7@googlegroups.com> |
| References | <fb693612-418f-459e-9141-6f837368cfd7@googlegroups.com> |
| From | Xavier Ho <contact@xavierho.com> |
| Date | Wed, 27 Mar 2013 11:19:44 +1100 |
| X-Google-Sender-Auth | NX5yPfgZ4R0SoxKet85IWKW0L0E |
| Subject | Re: how do you make a loop run in reverse? |
| To | rahulreddy24@hotmail.com |
| Content-Type | multipart/alternative; boundary=20cf3071cf72e7598a04d8dcff9a |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | contact@xavierho.com |
| 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.3785.1364343607.2939.python-list@python.org> (permalink) |
| Lines | 123 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1364343607 news.xs4all.nl 6890 [2001:888:2000:d::a6]:56653 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:41968 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
There is a built-in function that reverses an iterable. Have a look at the documentation. xav On 27 March 2013 10:59, <rahulreddy24@hotmail.com> wrote: > So i have a set of for loops that create this : > > *************************************** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *************************************** > > * > *** > ***** > ******* > ********* > > but i want to nest all the loops under one BIG loop that'll run in reverse > to make this: > > *************************************** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *************************************** > > * > *** > ***** > ******* > ********* > ******* > ***** > *** > * > *************************************** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *** *** *** *** *** *** *** > *************************************** > > Is this possible? > -- > http://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how do you make a loop run in reverse? rahulreddy24@hotmail.com - 2013-03-26 16:59 -0700 Re: how do you make a loop run in reverse? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-27 00:18 +0000 Re: how do you make a loop run in reverse? Xavier Ho <contact@xavierho.com> - 2013-03-27 11:19 +1100 Re: how do you make a loop run in reverse? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-03-27 01:08 +0000 Re: how do you make a loop run in reverse? Dave Angel <davea@davea.name> - 2013-03-26 20:08 -0400 Re: how do you make a loop run in reverse? Arnaud Delobelle <arnodel@gmail.com> - 2013-03-27 21:18 +0000
csiph-web