Skip to content

Instantly share code, notes, and snippets.

@ymotongpoo
Created November 30, 2012 05:58
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ymotongpoo/4174005 to your computer and use it in GitHub Desktop.
Save ymotongpoo/4174005 to your computer and use it in GitHub Desktop.
2012 PySpa advent calendar抽選
import random
participants = ["ymotongpoo",
"shiumachi",
"mopemope",
"tk0miya",
"shimizukawa",
"kuenishi",
"ransui",
"turky",
"Surgo",
"hirokinko",
"tokibito",
"moriyoshi",
"rokujyouhitoma",
"shkumagai",
"a2c",
"jbking",
"tsuyukimakoto",
"torufurukawa",
"yoshiori",
"takabow",
"masahito",
"flagboy"]
random.shuffle(participants)
for i, p in enumerate(participants):
print("12/{0} {1}".format((i + 2), p))
% python pyspa_advent.py
12/2 shkumagai
12/3 tokibito
12/4 torufurukawa
12/5 turky
12/6 kuenishi
12/7 yoshiori
12/8 shimizukawa
12/9 tsuyukimakoto
12/10 shiumachi
12/11 ransui
12/12 moriyoshi
12/13 takabow
12/14 rokujyouhitoma
12/15 masahito
12/16 a2c
12/17 tk0miya
12/18 jbking
12/19 hirokinko
12/20 ymotongpoo
12/21 flagboy
12/22 mopemope
12/23 Surgo
@ymotongpoo
Copy link
Author

補足:akisuteとvoluntasの順番は抽選前から最初と最後で決定済み

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment