import string, random
''.join([(string.ascii_letters+string.digits)[x] for x in random.sample(range(0,62),32)])
import string, random
''.join([(string.ascii_letters+string.digits)[x] for x in random.sample(range(0,62),32)])
本文标题:Python 生成固定位数随机数
本文链接:https://www.haomeiwen.com/subject/mbcgbxtx.html
网友评论