发布时间:2019-09-04 06:54:50编辑:auto阅读(3831)
n = 123
n = "%04d" % n
print n
0123
str = "123"
str = str.zfill(5)
print str
00123
上一篇: python list常用方法
下一篇: Python搭建插件式框架(基于组件开发
54170
40929
35453
31073
25968
25700
24149
19698
15750
15219
1993°
1833°
1917°
2015°
2001°
2183°
2139°
1952°
2028°
2019°