zip() or what?

achrist at easystreet.com achrist at easystreet.com
Thu Jul 3 06:51:27 CEST 2003


Ray Tomes wrote:
> 
> Hi all
> 
> 
> This I am trying to flip an array around so that the "subscripts" happen
> in the opposite order 

	[x[-i-1] for i in range(len(x))] 



Al




More information about the Python-list mailing list