str.format 是在python 中常用的字串格式化招式,可以控制想要顯示的資料型態、正負號、 ... python' print("{0} {1}".format("hello", "python")) #設定第一個括號放0 ...
確定! 回上一頁