Arevos,
just a question, I see you are using "list" as a variable name. Is that good practice, since "list" is a Python keyword?
I tested out your wonderfully coded sorts (using xrange is a good idea!), bubblesort does change the original list, your first quicksort does not!
__________________
I looked it up on the Intergnats!
Last edited by Dietrich; Apr 18th, 2006 at 5:14 PM.
|