标签: python python-3.x
def HouseVer(): my_house="" while my_house !="green" and my_house !="red" and my_house !="purple" and my_house !="yellow": my_house=input("Wich house do you live in?, green, red, purple, or yellow ") return my_house HouseVer()