yes_or_no = input("yes or no") if yes_or_no == "no": print("you choose no") elif yes_or_no == "yes": print("you choose yes") else: print("that is not a answer. sorry...")