segs by Vim Lover

a=raw_input()
b=range(len(a))
for i in b[::-1]:
 for j in b[i:]:print a[i:j+1]

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

download

return top