trying to figure out why same output but different results

前端 未结 0 1082
臣服心动
臣服心动 2021-01-03 12:54

def replace_ending(sentence, old, new): # Check if the old string is at the end of the sentence

# if old in sentence:

#     i = len(sentence)
#     N = len(o         


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