How do you sort a name list and list in random order?

Frank & Janny Plaza plaza247 at sbcglobal.net
Sat Aug 23 23:03:42 EDT 2003


I am trying to write a program in which the users will each enter their names and when all names have been entered, I want to randomly sort this list of names several times and then show the order in which they have beeen sorted. I tried using sort(), but this only sorts the names in the order in which they are entered.  Any suggestions?
Thanks, Cisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030823/62528af2/attachment.html>


More information about the Python-list mailing list