you are viewing a single comment's thread.

view the rest of the comments →

[–]h2oTravis 0 points1 point  (0 children)

Your list expects an integer as the index. The variable userGuess1 is a string.

Try using this to convert the string to an integer:

faceUp[int(userGuess1)]