要使用格式化字串文本(formatted string literals),需在字串開始前的引號或連續三個引號前加上 f 或 F 。 · 字串的 str.format() method 需要更多手動操作。
確定! 回上一頁