I want to fill an array with word suffixes while making a dictionary with their indexes. In a loop I do the following:
for i in range(len(s)): suf = s[:j]