Python生成4-6位數驗證碼

4位驗證碼: code = [] #定義一個空列表名爲:code c=open('D:\\python_code\\yanzhenma\\4.txt','a') #使用open函數新建一個D:\python_code\yanzhenma\4.txt文件並寫入 for q in range(0,10): #使用for循環利用range創建一個元組q(下標從0-10,也就是1-9) for w
相關文章
相關標籤/搜索