Question = input("your question") if Question == ("yes") print ("well done") elif Question == ("no") print ("try again")