Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
1,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. import random
  2.  
  3. strikes = ["Tree of Probabilities",
  4. "A Garden World",
  5. "The Arms Dealer",
  6. "Inverted Spire",
  7. "Savathun\'s Song",
  8. "The Pyramidion",
  9. "Lake of Shadows",
  10. "Exodus Crash",
  11. "The Corrupted",
  12. "Warden of Nothing",
  13. "The Insight Terminus",
  14. "The Hollowed Lair",
  15. "Will of the Thousands",
  16. "Strange Terrain"]
  17.  
  18. frames = ["Machine Gun",
  19. "Auto Rifle",
  20. "Hand Cannon",
  21. "Bow",
  22. "Sniper Rifle",
  23. "Sword",
  24. "Pulse Rifle"]
  25.  
  26. def shuffle(list_, size):
  27. for a in range(size):
  28. b = random.randint(1, size - 1)
  29. temp = list_[a]
  30. list_[a] = list_[b]
  31. list_[b] = temp
  32.  
  33. def main():
  34. for i in range(12):
  35. strikes_ = strikes.copy()
  36. frames_ = frames.copy()
  37. shuffle(strikes_, len(strikes_))
  38. shuffle(frames_, len(frames_))
  39. for j in range(3):
  40. print(strikes_[j])
  41. for j in range(3):
  42. print(frames_[j])
  43. print('')
  44. return
  45.  
  46. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement