Commit d816c220 by BellCodeEditor

save project

parent c5327737
Showing with 6 additions and 2 deletions
...@@ -8,7 +8,10 @@ while True: ...@@ -8,7 +8,10 @@ while True:
if username==zh and userpassword==mm: if username==zh and userpassword==mm:
print("登陆成功") print("登陆成功")
break break
else: if username != zh:
print("登陆失败") print("账号错误")
continue
if userpassword != mm:
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