[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] coloring book program to try
On Monday 15 December 2003 03:14 pm, Michael wrote:
> > Yes there is. myList.reverse()
>
> Ahh, I think I'm not using that because it changes the sequence itself
> whereas I want to create a new sequence.. in reverse.. because I need to
> keep the original sequence order for another part of the program.
Then make a copy first:
reversed = myList[:]
reversed.reverse()
Cheers,
Terry
--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks http://www.anansispaceworks.com