Iterate between letters instead of letters themselves

前端 未结 0 649
借酒劲吻你
借酒劲吻你 2020-12-01 05:38
substSet = set()
for i in range(len(searchWord)):
    for letter in range(ord(\'A\'), ord(\'[\')):
        foundWord = (searchWord[:i] + chr(letter) + searchWord[i+1         


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