Commit 42c8d91e by BellCodeEditor

save project

parent 8b7045dc
Showing with 2 additions and 2 deletions
...@@ -9,9 +9,9 @@ while True: ...@@ -9,9 +9,9 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
elif name != username: elif name != username:
print("账号错误!") print("账号错误!还有"+str(i)+"次机会!")
else: else:
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