list of tuple

steph bagnis stephjausiers at yahoo.fr
Wed Jun 9 11:21:36 CEST 2004


Hi !
I'm a new python programmer and I'm searching some tools for working
with tuples's list.
For example I have a list like that :
[('+',4,3),('+',3,9),'('+',5,6),('x',10),('x',3)]
and I would like to get a list with just the tuple with index 0 '+' or
things like that. The question is : is it possible without doing a
loop ?

Thx



More information about the Python-list mailing list