This question has already been answered:
There is a code to enter the number
number = str(input('print even number ')) if int(number) in lst(): return True the list consists of numbers, you need to do error handling if
type(number) != int but under this condition it still gives an input error.
How to solve?