def replace_ending(sentence, old, new): # Check if the old string is at the end of the sentence if sentence.endswith(old): # Using i as the ...
確定! 回上一頁