Python(6) 實現一個簡單的隨機驗證碼生成器

def gen_code(cd = 4,type = 0):#type=0純數字,type=1純大寫,type=2純小寫,type=其餘 混合 def gen_by_type(start,end): codes = '' flag = 0 while flag < cd : assic = random.randra
相關文章
相關標籤/搜索