Commit 2620f8a5 by BellCodeEditor

save project

parent fd6128d0
Showing with 3 additions and 0 deletions
...@@ -12,8 +12,11 @@ while True: ...@@ -12,8 +12,11 @@ while True:
if name !=username: if name !=username:
print("输入用户名错误") print("输入用户名错误")
print("温馨提示:您还有"+str(i)+"次登录机会")
continue
if password !=userpassword: if password !=userpassword:
print("输入密码错误") print("输入密码错误")
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