Triangle ASCII art by clock

System.in.eachLine{0.upto(n=it as int){print"|${"_ "[n<=>it]*it}\\\n"}println"*"*32}

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

download

return to the top page