char pyramid by hallvabo (alternative)

s=raw_input()
i=len(s)
for e in' '*i:i-=1;print e*i+e.join(s[i:])+e*i

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

download

return top