Commit 61c88c64 by BellCodeEditor

save project

parent 9c54066e
Showing with 4 additions and 1 deletions
......@@ -8,5 +8,8 @@ while True:
if name == username and hs == userpassword:# 如果用户输入的账号、密码正确,提示登陆成功
print("登陆成功")
break
print("错误")
if name != username :
print("用户名错误")
if hs != userpassword:
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