不調整建立字串的單引號,而是使用轉義字元 \' 來告訴Python, that\'s 的單引號不是建立字串用的那個單引號。 >>>c = "that's mine!" >>>d = 'that\'s ...
確定! 回上一頁