Python. Diablo II Character Picker


SUBMITTED BY: Guest

DATE: Nov. 29, 2013, 1:15 a.m.

FORMAT: Text only

SIZE: 718 Bytes

HITS: 1083

  1. import random
  2. import time
  3. print("Picking. . . ")
  4. heroes = ["Amazon", "Assassin", "Necromancer", "Barbarian", "Paladin", "Sorceress", "Druid"]
  5. time.sleep(1)
  6. print("\nRemoving Some. . . ")
  7. time.sleep(1)
  8. a = random.choice(heroes)
  9. heroes.remove(a)
  10. print("\n")
  11. print("Removed: ", a)
  12. time.sleep(.2)
  13. b = random.choice(heroes)
  14. heroes.remove(b)
  15. print("\n")
  16. print("Removed: ", b)
  17. time.sleep(.2)
  18. c = random.choice(heroes)
  19. heroes.remove(c)
  20. print("\n")
  21. print("Removed: ", c)
  22. time.sleep(.2)
  23. print("-----------------")
  24. time.sleep(.2)
  25. d = random.choice(heroes)
  26. print("\nUltimate Choice: ", d)

comments powered by Disqus