Commit 0b851dfd by BellCodeEditor

save project

parent e14a3173
Showing with 4 additions and 0 deletions
...@@ -8,6 +8,10 @@ while True: ...@@ -8,6 +8,10 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
print("用户名和密码错误!请重新输入") print("用户名和密码错误!请重新输入")
elif password !=username:
print("账号错误,请重新输入")
elif password !=userpassword:
print("密码错误,请重新输入")
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