Hey everyone i have this issue here, i really can't make out what the problem is. I know that range(2) gives 0 and 1 for possible i. len(R) = 2. And lists starts with 0.
R = [[1,1],[5,5]]
for i in range(len(R)):
if R[i][0] == R[i][1]:
R.remove(R[i])
the error:
if R[i][0] == R[i][1]:
IndexError: list index out of range