1.大小写字符串
# coding: utf-8
# Author: leebor
import random
import string
print(''.join(random.sample(string.ascii_letters, 16)))
# coding: utf-8
# Author: leebor
import random
import string
print(''.join(random.sample(string.ascii_letters, 16)))
本文标题:python 生成随机字符串
本文链接:https://www.haomeiwen.com/subject/sxztsftx.html
网友评论