摘要: 一、需求 1)密码输错超过三次进行锁定; 2)如果用户名在锁定文件中提示错误; 二、流程图 三、代码 1 # Aduthor:CCIP-Ma 2 import sys 3 f=open("password.txt","r",encoding="utf-8") #一般文件使用f进行定义,r+ 读写,a 阅读全文
posted @ 2019-12-15 22:15 ccip-ma 阅读(637) 评论(0) 推荐(0)