At Tuesday 16/1/2007 20:08, jairodsl wrote:

Excuse me, i was trying in too many ways but i couldnt access subindex
on a list , the problem is the next:

I have

indif=[[0,'A'],[1,'B'],[2,'C'],[3,'D']]

and

indic=[[0,'B'],[1,'C'],[2,'D'],[3,'E']]

i need to eval if indic[i][j] is equal to indif[i][j]

I used a double for but i had got "list index out of range". How can i
do ???

Posting your actual code would help. indif[i][j] should be fine, if i is between 0 and 3 inclusive, and j is 0 or 1.


--
Gabriel Genellina
Softlab SRL

        

        
                
__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to