发布时间:2019-09-04 06:54:50编辑:auto阅读(3257)
n = 123
n = "%04d" % n
print n
0123
str = "123"
str = str.zfill(5)
print str
00123
上一篇: python list常用方法
下一篇: Python搭建插件式框架(基于组件开发
49215
48377
39103
36208
30616
27420
26412
21248
21089
19434
47°
245°
245°
359°
574°
396°
1085°
1068°
1062°
1056°