发布时间:2019-09-04 06:54:50编辑:auto阅读(3535)
n = 123
n = "%04d" % n
print n
0123
str = "123"
str = str.zfill(5)
print str
00123
上一篇: python list常用方法
下一篇: Python搭建插件式框架(基于组件开发
51749
51433
41842
38613
33109
30099
28772
23769
23681
22048
81°
2278°
2971°
2477°
2418°
3025°
2430°
3235°
5335°
5152°