House of Santa Claus by recursive

i=input()
d=i-i/3
s=" "
while i:print"".join(map(max,i%d*s+"/",~i%d*s+" \\",(i<d)*("|"+~-d*s+"|"))).replace(s," _"[i%~-d==1]);i-=1

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

download

return to the top page