sandglass by recursive

m=input()
L=len(m)
R=range(L)
for r in R:print("".join((m[c]+" ")[L-2!=c!=1<=(r-c)*(L+~r-c)]for c in R))

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

download

return to the top page