Skip to content

Instantly share code, notes, and snippets.

@sneeu
Created June 8, 2012 14:21
Show Gist options
  • Save sneeu/2895865 to your computer and use it in GitHub Desktop.
Save sneeu/2895865 to your computer and use it in GitHub Desktop.
NAMES = ['John', 'Mat', 'Sam']
TEAMS = """Croatia
Czech Republic
Denmark
England
France
Germany
Greece
Italy
Netherlands
Poland
Portugal
Republic of Ireland
Russia
Spain
Sweden
Ukraine""".split('\n')
import random
if __name__ == '__main__':
random.shuffle(TEAMS)
for i, team in enumerate(TEAMS):
print '{0}: {1}'.format(NAMES[i % len(NAMES)], team)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment