Triangle ASCII art by clock

puts$<.map{|n|(0..n=n.to_i).map{|i|"|#{"_ "[i<=>n,1]*i}\\"}<<"*"*32}

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

download

return to the top page