在 Python 里,目前总共有3种不同的方式来进行字符串的格式化( String format )。分別是 %-formatting 、 str.format 以及 f-string 。
確定! 回上一頁