format (my_value)) # "0" 是可选的. 输出结果为: value 为: 6. 数字格式化. 下表展示了 ... 数字补零(填充左边, 宽度为2). 5, {:x<4d}, 5xxx, 数字补x (填充右边, 宽度为4).
確定! 回上一頁