The i here is just a number, so i+1 is fine. If you had tried to do lines[i+1] then you might run into an issue.
i
i+1
lines[i+1]
But also range(0) is empty, so no values are computed for empty lists anyway.
range(0)
Loading collection data...
The
i
here is just a number, soi+1
is fine. If you had tried to dolines[i+1]
then you might run into an issue.But also
range(0)
is empty, so no values are computed for empty lists anyway.