Ask Question
16 December, 17:00

What is wrong with this line of python code

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

+2
Answers (1)
  1. 16 December, 18:48
    0
    Statement is correct. It will prompt one to enter an number in string format.

    The number entered is converted into an integer
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is wrong with this line of python code userGuess = int (input ("Guess a number between 1 and 20: ")) ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers