Commit 4f406926 by BellCodeEditor

save project

parent 69af5a4c
Showing with 2 additions and 1 deletions
...@@ -11,10 +11,11 @@ while True: ...@@ -11,10 +11,11 @@ while True:
break break
if not name == username: if not name == username:
print("账号错误") print("账号错误")
print("剩余"+str(i)+"次")
continue continue
if not password == userpassword: if not password == userpassword:
print("密码错误") print("密码错误")
continue print("剩余"+str(i)+"次")
else: else:
print("已锁定") print("已锁定")
exit() 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