Commit 6cdd215a by BellCodeEditor

save project

parent 3084b053
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@ while True:
if name == username and password == userpassword:
print("登录成功!")
break
elif name != username:
elif name == username:
print("账号错误")
else:
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