Ruby by twobit

\xef\xbb\xbfa="\\"
while 9:x=i=input()-1;print-~-i*"\xe2\x97\x87"or"/"+"--"*i+a;exec'x-=1;print" "*(i-x)+a+"  "*x+"/";'*i

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

download

return to the top page