Commit 71e8d44a by BellCodeEditor

save project

parent 14fdfd36
Showing with 5 additions and 0 deletions
......@@ -7,4 +7,8 @@ while True:
if name==username and password==userpassword:
print("登录成功")
break
if name != username:
print("用户不存在")
if name != userpassword:
print("密码不正确")
# 如果用户输入的账号、密码正确,提示登陆成功
\ No newline at end of file
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