发布时间:2019-09-04 06:54:50编辑:auto阅读(3660)
n = 123
n = "%04d" % n
print n
0123
str = "123"
str = str.zfill(5)
print str
00123
上一篇: python list常用方法
下一篇: Python搭建插件式框架(基于组件开发
52584
52510
42594
39506
33919
30885
29665
24573
24416
22789
97°
109°
185°
179°
210°
369°
361°
367°
441°
363°