Hello I am new to coding, here I wrote a simple code based on the user's input. I can get every if and elif response to work but my program fails when the input is not an integer.
def tables_bussed():
tables = input("How many tables can you bus per hour? (I can only read numbers.)")
if int(tables) > 80:
print ("That\'s rediculous, you lying twit.")
tables_bussed()
elif int(tables) > 60:
print ("If what you are saying is true then you have quite a talent!")
elif int(tables) > 30:
print ("Impressive! Yet there\'s always room for improvement, now isn\'t there.")
elif int(tables) > 0:
print ("How sad.")
else:
print ("Are you dumb or just daft.")
tables_bussed()
tables_bussed()
am I missing something in my else clause?