places = {}
polling_active = True
while polling_active:
name = input("\n What is your name? ")
response = input("If you could visit one place in the world, where would you go?")
places[name] = response
repeat = input("Would you like to let another person respond? (yes/ no) ")
if repeat == 'no':
polling_active = False
print("\n--- Poll Results ---")
......................
阅读全部 | 2021年7月6日 21:20