arange randomly words in a list
william paul
williampaul28 at yahoo.com
Mon Oct 20 14:32:56 EDT 2008
Hi:
I have a list that looks like:
name = name1 name2 name3 name4
and I would like to be able to arrange randomly this list, like:
name = name 2 name 1 name3 name4
name = name4 name2 name1 name3
....
I have tried with random.shuffle, but still no good result
May I get an example?
Thank you,
William
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081020/6c55998b/attachment.html>
More information about the Python-list
mailing list