Ruby by nooodl

while 1:
 a=2*~-input()\x0d
 if a:\x0d
\x09print'/'+'-'*a+'\\'
\x09for b in range(a/2):print' '*b+' \\'+' '*(a-b-b-2)+'/'
 else:print"\xe2\x97\x87"

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

download

return to the top page