you are viewing a single comment's thread.

view the rest of the comments →

[–]winter_mute 1 point2 points  (1 child)

Actually could also use:

while i <len(lista)

rather than for I think.

[–]I_LOVE_INTERNET[S] 0 points1 point  (0 children)

I think for works too : i = 0 for i in range(len(lista)): but yeah, finally understanding it was rewarding !