response = {}
flag = True
while flag:
name = input("type your name:\t")
place = input("type place name that you most like:\t")
response[name] = place
repeat = input("anyone else? (yes/no)\t")
while repeat != 'yes' or repeat != 'no':
repeat = input("input wrong, please input again (yes/no)\t")
if repeat == 'no':
flag = False
print("______response___ __")
for name, value in response.items():
print(name+"\t favorite place is\t"+ place)
while repeat != 'yes' or repeat != 'no':这句代码有什么不对吗,为什么不管输入什么程序都进入while循环