If you have list:
t=[[1,"a"],[2,"b"],[3,"c"]]
The first element of each list contained
in t is accessed by:
t[n][0]
where n is the element number you wish to access
(zero based of course).
-Larry
"Boštjan Jerko" <bo***********@mf.uni-lj.si> wrote in message
news:ma***************************************@pyt hon.org...
Hello!
I have a list of lists (e.g. [[1,"a"],[2,"b"],[3,"c"]]) and
would like to do index on the first element of the lists.
Can it be done?
B.