a = '9'
b = int(a)
print('%03d' % b)
python 1 转化为 001
猜你喜欢
转载自blog.csdn.net/jianghusanren3/article/details/96428283
今日推荐
周排行