判斷 字首字尾是否為指定字母,有大有寫之分。 txt = 'Messi' print(txt.startswith('M')) //True print(txt.endswith('I')) //False ...
確定! 回上一頁