Commit 46c67d12 by BellCodeEditor

save project

parent 34d111e5
Showing with 5 additions and 2 deletions
usename = "python" usename = "python"
...@@ -6,6 +6,9 @@ while True: ...@@ -6,6 +6,9 @@ while True:
if a==usename and b==userpassword: if a==usename and b==userpassword:
print("正确") print("正确")
break break
print("登录失败") if usename != a:
print("账号登录失败")
if userpassword != b:
print("密码登录失败")
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