segs by

s = raw_input()\x0d
def f(s, n):\x0d
 for i in range(1, n+1):print s[:i]\x0d
for i in range(1, len(s)+1):f(s[-i:], i)

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

download

return top