Answer to Question #41431 in Python for matt
The second place an integer is required is the guess. Do not accept a guess from the user unless an integer is typed at the keyboard. That is, ask him/her to try again if they enter something other than an integer.
You'll need to use a while loop to operate the menu driven interface. There are three choices:
•2. get a new secret number
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!