Removed unneeded list(range(...))

Python 3 range objects, while not lists, can be subscripted like lists. The `list` isn't needed.