ASCII Stars by gohgle

(l=gets.to_i*2-1).times{|n|$><<(' '*a=(l/2-n).abs)+'*'*(l-a*2)+$/}

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

download

return top