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

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

1 Answer

5 votes

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

answered
User Joe The Person
by
7.8k points