On Thu, Oct 15, 2009 at 3:21 AM, Nanjundi <nanju...@gmail.com> wrote:

> 3       You can’t find elements in a tuple. Tuples have no index method.
>

I don't know what language you're using there, but my Python tuples have
indexes.

>>> a = (1, 2, 3)
>>> a
(1, 2, 3)
>>> a[1]
2
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to