Christmas tree by yvl

0.upto(n=gets.to_i-1){|i|puts" "*(n+~i%=n)+"*"*i.id}

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

download

return top