... 種不同的方式來達成字串格式化(String format)。分別是%-formatting、str.format 以及f-string。本文將會逐一介紹這些Python 的字串格式化方式。
確定! 回上一頁