191,424 views
29 votes
29 votes
Which entry by the user will cause the program to halt with an error statement?

#Get a guess from the user and update the number of guesses.
guess = input("Guess an integer from 1 to 10:")
guess = int(guess)

A two
B 100
C 3
D -1

User Sumek
by
2.6k points

1 Answer

13 votes
13 votes

Answer:

A

Step-by-step explanation:

User Hareesh
by
2.8k points