Python 3.6 之後支援1 個強大的功能,被稱為f-string ( f 代表fast ),可以讓開發者直接在字串中嵌入變數,舉 s = f'Hello {name}' 為例, 假設 ...
確定! 回上一頁