Filling an array with changing string value

后端 未结 0 470
名媛妹妹
名媛妹妹 2021-02-13 22:57

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]
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题