r=raw_input()+'x'\x0d for i in range(len(r)):\x0d for j in range(i):print r[-i-1:-i+j]\x0d
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page