Jan-21-2019, 09:51 PM
You are looping over this tuple: (CORRECT_ANSWERS, student_answers). So that's two items, which is why you get two. Note that your comparison on line 25 is always comparing the first item from each list.
You need to loop over range(len(CORRECT_ANSWERS)). Then use your loop variable (index) to index the correct items in the two lists.
You need to loop over range(len(CORRECT_ANSWERS)). Then use your loop variable (index) to index the correct items in the two lists.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures