142k views
4 votes
What is the error in this?

userGuess = int(input(“Guess a number between 1 and 20: “))

User TheGtknerd
by
4.9k points

1 Answer

5 votes

Most interpreters won't recognize “ “as a quote. You need to use " ". Other than that, your code looks good.

User Joe The Person
by
4.6k points