Commit 81eeaf6c by BellCodeEditor

save project

parent a62f86aa
Showing with 2 additions and 0 deletions
...@@ -15,6 +15,8 @@ while True: ...@@ -15,6 +15,8 @@ while True:
continue continue
if password != userpassword: if password != userpassword:
print("密码错误") print("密码错误")
print("剩余"+str(i)+"次机会")
print("用户名和密码错误!请重新输入") print("用户名和密码错误!请重新输入")
else: else:
print("账户锁定") print("账户锁定")
......
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