Why does the following code raise an
IndexError
?
The index is out of range
scores
is undefined
scores
is not a dictionary
The index is out of range.