sorting a tuple

Tyler Eaves tyler at tylereaves.com
Tue Nov 14 02:26:54 CET 2000


Actually, that tuple only contains strings. On another note, can
someone please explain why you would use a tuple instead of a list. I
have never quite figured that out.

On Wed, 15 Nov 2000 01:13:21 GMT, etsang at my-deja.com wrote:

>I forgot to mention that the tuple is only containg integers. E.g.
>items = ('1','2','3','4','5','6')
>And I want to sort it in decending order with a built in library
>funciton if possible to make code clean
>Thanks once more.
>In article <8usna1$2fo$1 at nnrp1.deja.com>,
>  etsang at my-deja.com wrote:
>> Hi,
>>
>> Can anyone tell me if there is any library function to srot a tuple
>ind
>> ecending order? if not, can someone supply the code???
>> thanks
>>
>> Sent via Deja.com http://www.deja.com/
>> Before you buy.
>>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

---
Tyler Eaves

Visit Ultra Coaster Central!
The internet's largest repository
of Ultra Coaster Tracks!

http://www.ultracoastercentral.com


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list