I wrote the following program in Python but I got this error please guide me
age= (input("please inter your age:" ))
if age > 40:
print ("old")
elif 40>age>=30:
print ("middle-age")
elif 30>age>=20:
print ("yong")
TypeError: '>' not supported between instances of 'str' and 'int'
I checked the program several times