CDK生成器
encoding: utf-8
import random
import string
def generate_code(length):
characters = string.asciiletters + string.digits
return ''.join(random.choice(characters) for in range(length))
codes = set()
while len(codes) < 500:
code = generate_code(8)
codes.add(code)
for code in codes:
print(code)