1.大小写字符串 # coding: utf-8 # Author: leebor import random import string print(''.join(random.sample(string.ascii_letters, 16)))