That was necessary for Python 3, I believe, as in Python 3 range(5) is not a list.