Need a strange sort method...

Saizan sanzhiyan at gmail.com
Mon Oct 16 15:29:45 EDT 2006


SpreadTooThin wrote:
> > that's trivial to do with slicing, of course.  what makes you think you
> > need to do this by calling the "sort" method ?
> >
> > </F>
>
> You are of course correct.. There might be a way to do this with
> slicing 
> and i % 3

Slicing will work only with a sorted list.




More information about the Python-list mailing list