Skip to content

Instantly share code, notes, and snippets.

@habi
Created June 9, 2016 09:07
Show Gist options
  • Save habi/d54a1440a42c1ede87f8991584319590 to your computer and use it in GitHub Desktop.
Save habi/d54a1440a42c1ede87f8991584319590 to your computer and use it in GitHub Desktop.
So tippe ich im EM Tippspiel
# -*- 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