Triangle ASCII art by teebee

System.in.eachLine{0.upto(n=it as int){println"|${(it<n?' ':'_')*it}\\"}println"*"*32}

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

download

return to the top page