數(shù)據(jù)驅(qū)動(dòng)、堅(jiān)持為客戶提供有價(jià)值的服務(wù)和內(nèi)容
1.生成200個(gè)指定長度的隨機(jī)碼
import random
import string
def rand_str(num,len=7):
f = open('file.txt','w')
count = 1
for i in range(num):
restr = ''
chars = string.ascii_lowerc