Commit b1b731fd by BellCodeEditor

save project

parent 05e583de
Showing with 1 additions and 2 deletions
...@@ -12,9 +12,8 @@ while True: ...@@ -12,9 +12,8 @@ while True:
if name!=username: if name!=username:
print("用户名错误") print("用户名错误")
if password!=userpassword: if password!=userpassword:
print("密码错误") print("密码错误")
if name!=username and password!=userpassword:
continue
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