Advertisement
Roman_Sarnov

Untitled

Aug 19th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. res = {}
  2. poll_ac = True
  3. while poll_ac:
  4. name = input("\nVhat is your name ")
  5. ress = input("Vhich mountain vould you like to climb? ")
  6. res[name]=ress
  7. repeat = input("Vould you like to let another person respond? (yes/no)")
  8. if repeat == 'no':
  9. poll_ac = False
  10. print("\n---Poll Results---")
  11. for name, ress in res.items():
  12. print(name + " vould like to climb " + ress + ".")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement