Python-list Digest, Vol 70, Issue 123

Tanmoy mukherjee.tanmoy at gmail.com
Thu Jul 9 12:31:56 CEST 2009


Hello ,
          When i==0 you append an empty list to arr, so arr[i] is arr[0]. No
problem.

When i==10 you append another empty list to arr, so arr[i] is arr[10].
Index error because there's no arr[10], only arr[0] and arr[1].


Thanks for your prompt reply...

How can i pass this problem


Sincerely
Tanmoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090709/e442d413/attachment.html>


More information about the Python-list mailing list