Skip to content

Instantly share code, notes, and snippets.

@ucgosupl
Created October 5, 2018 20:04
Show Gist options
  • Save ucgosupl/8a04e9ca71bef907666ce98a85253963 to your computer and use it in GitHub Desktop.
Save ucgosupl/8a04e9ca71bef907666ce98a85253963 to your computer and use it in GitHub Desktop.
from random import shuffle
players = ['arcy', 'lysy', 'ree', 'frodo', 'asd', 'helvi', 'gandalf']
countries = ['GER', 'ITA', 'SWE', 'JAP', 'SOV', 'UK', 'USA']
shuffle(players)
shuffle(countries)
result = [(players[i], countries[i]) for i in range(len(players))]
print(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment