Triangle ASCII art by Hendrik

while 1:
 n=input()
 for i in range(n+1):print'|'+i*'_ '[i<n]+'\\'
 print"*"*32

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

download

return to the top page