Triangular Text by recursive

import sys
b="".join(c for l in sys.stdin for c in l if" "<c)
n=0
while b:n+=1;print b[:n];b=b[n:]

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

download

return to the top page