s = input("Do you agree? ") s = s.lower() if s in ["y", "yes"]: print("Agreed.") else: print("Not Agreed.")