Sorted list - how to change it

Lad python at
Thu Nov 9 10:52:49 CET 2006

I have a sorted list for example [1,2,3,4,5] and I would like to change
it in a random way
e.g [2,5,3,1,4] or [3,4,1,5,2]  or in any other way except being
What is the best/easiest
 way how to do it?

Thank you for help

More information about the Python-list mailing list