使用for循环生成6位纯数字,位数不足使用0填充。
for i in range(0,1000000): i=str(i) print(i.zfill(6))
python生成6位纯数字
原文:https://www.cnblogs.com/relax1949/p/12018291.html