格式化print()輸出. 其實python最早也是跟c一樣要用%d、%f等進行輸出 後來在python 2的時候加入了.format()的用法 不過我比較打算介紹python 3的f-string用法.
確定! 回上一頁