Commit 16f01b36 by BellCodeEditor

save project

parent b25163cb
Showing with 2 additions and 3 deletions
...@@ -9,10 +9,9 @@ while True: ...@@ -9,10 +9,9 @@ while True:
if a==username and b==userpassword: if a==username and b==userpassword:
print("登陆成功") print("登陆成功")
break break
if a!=username: elif a!=username:
print("用户名错误") print("用户名错误")
continue elif b!=userpassword:
if b!=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