4d}".format(i) + "\n" f.">
 | 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
LasonyaHart
9年前发布

生成手机号码Python代码

[Python]代码    

# _*_ coding:utf-8 _*_  #xiaohei.python.seo.call.me:)  #win+python2.7.x    number = "1350571"    with open("hm.txt","w") as f:   for i in range(0001,9999):    ok = number + "{:0>4d}".format(i) + "\n"    f.write(ok)