day = input("what day of the week is it? ") holiday = input("is it a holiday? ") if holiday == "no" : if day != "sat" or "sun" : print("work") else : print("bed") else : print("bed")