Commit 9bc3f541 by BellCodeEditor

save project

parent acc2119e
Showing with 2 additions and 0 deletions
...@@ -9,10 +9,12 @@ while True: ...@@ -9,10 +9,12 @@ while True:
print("登录成功!") print("登录成功!")
break break
if n != username: if n != username:
print("还有"+i+"次机会")
input("用户名出错") input("用户名出错")
continue continue
if m !=userpassword: if m !=userpassword:
input("密码出错") input("密码出错")
print("还有"+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