Sep-18-2017, 11:57 PM
Quote:errors = studentNumbersWithErrors
for i in range(0, len(errors)):
for j in range(1, len(errors)):
if errors[i] == studentNumbersWithErrors[j]:
del studentNumbersWithErrors[j]
Traceback (most recent call last):
File "<pyshell#94>", line 3, in <module>
if errors[i] == studentNumbersWithErrors[j]:
IndexError: list index out of range