Ruby by J-_-L

puts$<.map{|l|(1>a=l.to_i-1)?'\xe2\x97\x87':['/'+'--'*a+b='\\']+(1..a).map{|e|' '*e+b+'  '*(a-e)+'/'}}

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

download

return to the top page