Commit 09d15e99 by BellCodeEditor

save project

parent 775c7612
Showing with 2 additions and 1 deletions
......@@ -9,11 +9,12 @@ while True:
if name==username and password==userpassword:
print("登陆成功")
break
print("还剩"+str(i)+"次机会")
if name !=username:
print("用户名错误")
continue
if password !=userpassword:
print("密码错误")
print("密码错误")
else:
print("账号以被锁定,滚吧!")
exit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment