I'm having trouble with my code and am wondering if there is a way to check to see if a value is both an integer/number and if the value is <=3. This is the code I need help with:
while SystemError:
s=int(input('You look arround to find your barings when you spot a light in the distance symbolyzing that there is a town/village up ahead you have three choices \nchoice 1 you can fly there with your wings, \nchoice 2 you can move through the trees as a shortcut, \nand choice 3 you can walk on the road and hopefully you dont get lost. which is it gonna be \nchoice 1, \n2, \nor 3?: '))
if not s<=3:
print('im sorry you have inputed an incorrect value')
continue
else:
break