survey_dict = 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
for k in sorted(survey_dict):
print(f"I'am {k}. I'd like to go to {survey_dict[k]} if I have the chance!")

京公网安备 11010502036488号