Find = input("What estimate number? ")
I want it to loop back if they enter a non integer and also if they entered a number that is below 1 and above 190
This is going to be within a subprogram
Find = input("What estimate number? ")
I want it to loop back if they enter a non integer and also if they entered a number that is below 1 and above 190
This is going to be within a subprogram
try:
if 1 <= int(Find) <= 190:
// good
else:
// prompt again
except ValueError as e:
// not integer