sandglass by mitchs

[*s]=input()
a=[s]*len(s)
i=0
for x in a:
 i-=1;a[i]=x*1;print(sep='',*x)
 if i+2:s[i]=s[~i]=' '

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

download

return to the top page