Commit cbfe4252 by BellCodeEditor

save project

parent 1aef03ec
Showing with 2 additions and 2 deletions
...@@ -8,9 +8,9 @@ while True: ...@@ -8,9 +8,9 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
elif name != username: if name != username:
print("用户名错误") print("用户名错误")
else: if:
print("密码错误") print("密码错误")
else: else:
print("你的账号已被锁定,请一小时后再试") print("你的账号已被锁定,请一小时后再试")
......
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