[Tutor] List weirdness
iwasroot at gmail.com
Fri Feb 13 09:38:20 CET 2009
I was wondering why this happens. I was trying to create a list of lists.
>>> d = []
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IndexError: list assignment index out of range
What's wrong with that?
I guess I can't reference  on an empty list. (I come from a C
More information about the Tutor