Created
June 8, 2012 14:21
-
-
Save sneeu/2895865 to your computer and use it in GitHub Desktop.
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
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