Commit 15845d1c by BellCodeEditor

save project

parent 4b4772d8
Showing with 4 additions and 2 deletions
...@@ -14,10 +14,11 @@ while True: ...@@ -14,10 +14,11 @@ while True:
break break
elif a !=username and b == userpassword: elif a !=username and b == userpassword:
print("username:error") print("username:error")
continue
elif a == username and b != userpassword: elif a == username and b != userpassword:
print("userpassword:error") print("userpassword:error")
continue
else: else:
print("Error") print("All Error")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
\ 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