responses ={}
active =Truewhile active:
name =input("What's your name?\n")
question =input("If you could visit one place in the world, where would you go?\n")
responses[name]= question
repeat =input("你想停止问卷吗?(yes/no)\n")if repeat =='yes':
active =Falseprint("---调查结果---")for name,question in responses.items():print(name +" 想去的地方是 "+ question)