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