while raw_input("Ali je? ") not in ["ja","da"]: print "try again" print "bravo"