Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 1 of 1
Search took 0.01 seconds; generated 4 minute(s) ago.
Search: Posts Made By: k@t
Forum: Python Feb 22nd, 2005, 3:04 AM
Replies: 0
Views: 200
Posted By k@t
Help needed with sort()

Hi,

I have an array of arrays in the form of
list = [[3,'fork',0.3,1],[2,'fork,0.1,2],[3,'exec',0.2,2]]

The in-built sort(),list.sort() sorts on the first element, if the first elts are equal then...
Showing results 1 to 1 of 1

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:31 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC