Python 從2.6 開始新增了.format() 的字串格式化輸出函數, ... 1, 23, 14, 12, 34, 123456) print ("{:%Y-%m-%d %H:%M:%S %A}".format(time)) ...
確定! 回上一頁