Commit 07500caa by BellCodeEditor

save project

parent 46b1c8e2
Showing with 1 additions and 2 deletions
...@@ -8,8 +8,7 @@ while True: ...@@ -8,8 +8,7 @@ while True:
break break
if name != username: if name != username:
print("用户名错误") print("用户名错误")
if name != username and password != userpassword: continue
print("密码和用户名错误")
if password != userpassword: if password != userpassword:
print("密码错误") 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