Created
March 24, 2017 00:45
-
-
Save killertilapia/e603d79fbbf519d5c9661048c7def811 to your computer and use it in GitHub Desktop.
Random pick order for Captains Dota2 Innovuze
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import shuffle | |
def rand_pickOrder(n, caps): | |
for x in range(n): | |
shuffle(caps) | |
return caps | |
captains = ['Red', 'Astang', 'Bossing', 'MasterE'] | |
pickOrder = rand_pickOrder(10, captains) | |
print("\nFinal Pick Order\n") | |
for i,v in enumerate(pickOrder): | |
print("#{} - {}".format(i,v)) | |
print("\nLET THE GAMES BEGIN!!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment