survey_dict={}
while True:
print('If you have the chance, which university do you want to go to most?')
print('What is your name?')
name=input()
print('Which university do you want to go to most?')
university=input()
survey_dict[name]=university
print("Is there anyone who hasn't been investigated yet?")
if input()=='No':
break
else:
continue
for dic in sorted(survey_dict,reverse=False):
print(f"I'am {dic}. I'd like to go to {survey_dict[dic]} if I have the chance!")

京公网安备 11010502036488号