Tyler Tyler - 1 year ago 54
Python Question

IndexError: list index out of range and python

I'm telling my program to print out line 53 of an output. Is this error telling me that there aren't that many lines and therefore can not print it out?

Answer Source

If you have a list with 53 items, the last one is thelist[52] because indexing start at 0.