Commit 4bd4897b by BellCodeEditor

save project

parent 52fc2818
Showing with 5 additions and 0 deletions
...@@ -8,5 +8,9 @@ while True: ...@@ -8,5 +8,9 @@ while True:
if username==name and userpassword==password: if username==name and userpassword==password:
print("登陆成功") print("登陆成功")
break break
if name!=username:
print("账号错误")
if password!=userpassword:
print("密码错误")
print("登陆错误") print("登陆错误")
print("欢迎来到贝尔") 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