slovo = input('Write a word: ')
for m in range(len(slovo)):
    print(slovo[m:])

2029fafb523e98538452c5cf1bd9984a53c8720d
<mask token>

<mask token>
for m in range(len(slovo)):
    print(slovo[m:])

slovo = input('Write a word: ')
for m in range(len(slovo)):
    print(slovo[m:])
