Created
June 9, 2016 09:07
-
-
Save habi/d54a1440a42c1ede87f8991584319590 to your computer and use it in GitHub Desktop.
So tippe ich im EM Tippspiel
This file contains 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
# -*- coding: utf8 -*- | |
""" | |
Da ich keine Ahnung von Fussball habe, tippe ich bei unserem EM-Tippspiel so... | |
""" | |
import random | |
AnzahlTipps = 36 | |
# Tipp 1 | |
print 80 * '-' | |
random.seed(20150316) | |
for c,i in enumerate(range(AnzahlTipps)): | |
print 'Tipp %s: %s' % (str(c + 1).zfill(2), random.choice([1,2,'X'])) | |
# Tipp 1 | |
print 80 * '-' | |
random.seed(19811026) | |
for c,i in enumerate(range(AnzahlTipps)): | |
print 'Tipp %s: %s' % (str(c + 1).zfill(2), random.choice([1,2,'X'])) | |
print 80 * '-' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment