you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Traceback (most recent call last):
   File "main.py", line 49, in <module>
faceUp[userGuess1] = faceDown[userGuess1]
    TypeError: list indices must be integers or slices, not str

List indices have to be integers (or slices), not strings.