发布时间:2019-09-04 06:54:50编辑:auto阅读(3497)
n = 123
n = "%04d" % n
print n
0123
str = "123"
str = str.zfill(5)
print str
00123
上一篇: python list常用方法
下一篇: Python搭建插件式框架(基于组件开发
51336
50791
41384
38186
32676
29570
28407
23285
23248
21576
1656°
2384°
1990°
1930°
2259°
1963°
2659°
4461°
4289°
3058°