Output 2015 by carl_corrected

while 1:
 a=input()
 print" "*a+a*"__"
 for x in range(-a+1,a+1):j=abs(x);j-=x>0;print" "*j+"\\/"[x<1]+(2*a-1)*" _"[x in[0,a]]+"\\/"[x<1]+(a-j-1)*"  "+"\\/"[x>0]

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

download

return to the top page