Switzerhegg 2012 by danilo

import sys,itertools as t
n=input()
d=2*n
z=[1,1];x=[1]*5;y=z+[0]+z;p=[x,y,[1,0,0,0,1],y,x]
g=t.cycle('Easterhegg')
for m in p:
 for i in range(0,n):
  for j in m:sys.stdout.write(''.join(t.islice(g,d))if j else' '*d)
  print

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top