14.5k views
6 votes
You wrote a program to allow the user to guess a number. Complete the code. (Coding program: Python) (20 points!)

You wrote a program to allow the user to guess a number. Complete the code. (Coding-example-1
User Derz
by
4.6k points

2 Answers

3 votes

Answer:

guess = int(guess)

Step-by-step explanation:

This makes the guess input number an integer

User Ingo Schommer
by
4.0k points
10 votes

Answer:

guess=int(guess)

Step-by-step explanation:

This is to make the input number an integer so you can compare later on

User Monarch Wadia
by
4.0k points