Posts by Rafael Dias • 21 points
1 post
-
2
votes2
answers121
viewsQ: Repeat loop with problem
I have the algorithm below, and on the line while lista[i]==lista[i-1]: is returning the error: index out of range import random n1=0 n2=0 n1=int(input('Insira um numero para inicio'))…