Posts by vitor leme • 1 point
1 post
-
-1
votes1
answer59
viewsQ: Gave error "list index out of range" and do not understand the reason
notas = [10,5,6,7,8] for i in range(0,len(notas)+1): print(notas[i]) Made the mistake: line 4, in <module> print(notas[i]) IndexError: list index out of range…