7.1.2. 字串的format() method¶. str.format() method 的基本用法如下:. > ... 'Dcab: {0[Dcab]:d}'.format(table)) Jack: 4098; Sjoerd: 4127; Dcab: 8637678.
確定! 回上一頁