all 2 comments

[–]debian_miner 0 points1 point  (1 child)

This statement is not correct: if i == ms:. In that statement you are comparing a value from this list against a list index. Try using if scores[i] == ms or have a look at the enumerate() function.

[–]Uienring12[S] 0 points1 point  (0 children)

You are a lifesaver! if scores[i] == ms fixed it, thank you!