Hello new to Python here. I am having trouble adding a error check, where the input must be 1 to 20, and has to be an integer. If a letter is inputted or a number larger than 20 or less than 1 an error will show stating to try again.
pick=input("pick 1-20: ")
if pick == "1":
apple()
elif pick == "2":
print("a")
elif pick == "3":
print("b")
elif pick == "4":
print("c")
elif pick == "5":
print("d")
elif pick == "6":
print("e")
elif pick == "7":
print("f")
elif pick== "8":
back()