import random
def get_mobile():
xx = "1234567890"
sa =[]
mobiles = ['130', '131', '132', '133', '134','136','177','187','133','153','180','181','189','173','149','199']
for i in range(8):
sa.append(random.choice(xx))
number = "".join(sa)
mobile = random.choice(mobiles)+number
print(mobile)
for j in range(这里填写要生成的电话号码数量):
get_mobile()
python随机生成电话号码
最新推荐文章于 2024-05-27 09:46:44 发布