发布时间:2019-09-04 06:54:50编辑:auto阅读(3486)
n = 123
n = "%04d" % n
print n
0123
str = "123"
str = str.zfill(5)
print str
00123
上一篇: python list常用方法
下一篇: Python搭建插件式框架(基于组件开发
51121
50514
41133
37975
32441
29343
28215
23058
23026
21350
1386°
2081°
1736°
1663°
1953°
1738°
2410°
4066°
3944°
2818°