i am assuming you are not typing in yes or no? There is no condition for anything else. the second if should also be an
elif
. Finally You need an else
clause for when the input is neither.tuna = input("is tuna a fish") if tuna == "yes": print("I know, course tuna is a fish") elif tuna == "no": print("What are you talking about, of course tuna is a fish") else: print('please enter yes or no')
Recommended Tutorials: