make_id_back.py 250 B

12345678910
  1. import random
  2. from tqdm import tqdm
  3. fp = open('./materials/id_back.txt', 'w+', encoding='utf-8')
  4. for i in tqdm(range(0, 1000)):
  5. num = random.randint(100000000, 9999999999)
  6. num_str = str(num).zfill(10)
  7. fp.write(num_str + '\n')
  8. fp.close()