<div dir="ltr">There is a built-in function that reverses an iterable.  Have a look at the documentation.<div><br></div><div>xav</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 March 2013 10:59,  <span dir="ltr"><<a href="mailto:rahulreddy24@hotmail.com" target="_blank">rahulreddy24@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So i have a set of for loops that create this :<br>
<br>
***************************************<br>
***   ***   ***   ***   ***   ***   ***<br>
***   ***   ***   ***   ***   ***   ***<br>
   ***   ***   ***   ***   ***   ***   ***<br>
   ***   ***   ***   ***   ***   ***   ***<br>
***************************************<br>
<br>
                 *<br>
                ***<br>
               *****<br>
              *******<br>
             *********<br>
<br>
but i want to nest all the loops under one BIG loop that'll run in reverse to make this:<br>
<br>
***************************************<br>
***   ***   ***   ***   ***   ***   ***<br>
***   ***   ***   ***   ***   ***   ***<br>
   ***   ***   ***   ***   ***   ***   ***<br>
   ***   ***   ***   ***   ***   ***   ***<br>
***************************************<br>
<br>
                 *<br>
                ***<br>
               *****<br>
              *******<br>
             *********<br>
              *******<br>
               *****<br>
                ***<br>
                 *<br>
***************************************<br>
   ***   ***   ***   ***   ***   ***   ***<br>
   ***   ***   ***   ***   ***   ***   ***<br>
***   ***   ***   ***   ***   ***   ***<br>
***   ***   ***   ***   ***   ***   ***<br>
***************************************<br>
<br>
Is this possible?<br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>