Commit fd826d96 by BellCodeEditor

save project

parent 2d7d4770
Showing with 5 additions and 2 deletions
......@@ -7,8 +7,10 @@ while True:
if a==username and b==userpassword:
print("登录成功")
break
else:
print("输入的账号、密码错误!请重新输入账号、密码")
if a!==username:
print("输入的账号错误!请重新输入账号")
if b!==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