char pyramid by

s = raw_input()\x0d
n = len(s)\x0d
for i in range(n-1, -1, -1):\x0d
  print " "*i + " ".join(s[i:]) + " "*i

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

download

return to the top page