直接%d. 用格式化输出.查下format()的使用. %4d 右对齐%-4d 左对齐. '%*d'%(width,data)上面的* 对应width,d 对应data,输出的data 占width 个字符长度 ...
確定! 回上一頁