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


Groups > comp.lang.python > #42015

Re: how do you make a loop run in reverse?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.243
X-Spam-Level **
X-Spam-Evidence '*H*': 0.65; '*S*': 0.14; 'loops': 0.16; 'nest': 0.16; 'possible?': 0.16; 'subject:make': 0.16; 'subject:run': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'run': 0.32; 'but': 0.35; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:74.208': 0.68; 'reverse': 0.68; 'received:74.208.4.194': 0.84; 'subject:you': 0.87; 'email addr:hotmail.com': 0.89; '***': 0.95
Date Tue, 26 Mar 2013 20:08:08 -0400
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
To python-list@python.org
Subject Re: how do you make a loop run in reverse?
References <fb693612-418f-459e-9141-6f837368cfd7@googlegroups.com>
In-Reply-To <fb693612-418f-459e-9141-6f837368cfd7@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:3I2IEyJ0ItOPPn/rPMJg3JGj6eKDoO620uIdPAk4pO0 btqdo4Elf8Z1to2bAHcjwXXpHtOI4pFoecqMkNlTmHSloxkluw 72CHofkUa1oln03XPZ+SwDNYzMvwcXBIjv6BXfOPwrM9rBQLyn j0GcB1lqOpyuvsMN9xPNi1x0j/XnMiyej2eZognfQhSAelvXtD EkiiiamI63h3LJ2RUwpRc2AfklH0v3YfGGVaKxXp1bsocQW2IJ rsGQPFGO7tYx8asYYPPzTTlnSi03AjaYj1jwHiZ46ewUf2kpr0 zfYfY1eth14i5gwWmco9QDKZNM51JgBVeIbsGgVsiZmQmyJNA= =
X-Mailman-Approved-At Wed, 27 Mar 2013 17:47:33 +0100
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.3812.1364402854.2939.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364402854 news.xs4all.nl 6859 [2001:888:2000:d::a6]:58747
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42015

Show key headers only | View raw


On 03/26/2013 07:59 PM, 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?
>

tes

-- 
DaveA

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


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