That won't work because l1[0] is ['a', 1]
What happens if you don't change the code?
l1.index('c')
Bodsda
Sent from my BlackBerry® wireless device
-----Original Message-----
From: Robert Berman <[email protected]>
Sender: [email protected]
Date: Thu, 08 Dec 2011 16:13:32
To: tutor<[email protected]>
Subject: [Tutor] list.index() question
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor