Late Christmas tree by recursive

U=["_"]
o=U*14
for i in range(28):
 v=int('4ju7js0gnf6w6a8fcqit5a6qik54dtxek4mrmpfhvyxlev45pd1q8vdo5',36)
 while v:
  if v>>6&31==i:o[v/4%16]="*o_"[v&3]
  v>>=11
 print"".join(o+o[-2::-1]+U+U)
 if i<21:o=o[1:]+U

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

download

return to the top page