Showing posts with label sorting. Show all posts
Showing posts with label sorting. Show all posts
Tuesday, April 5, 2011
Python Sorting
So... sort() sorts an interable in place, whereas sorted() returns a sorted copy. This also works on an iterable of objects! So, here's the run-down.
Subscribe to:
Posts (Atom)