Commit 9a03a346 by BellCodeEditor

save project

parent bf07b7c1
Showing with 2 additions and 3 deletions
...@@ -6,9 +6,8 @@ while True: ...@@ -6,9 +6,8 @@ while True:
if username == name and password == userpassword: if username == name and password == userpassword:
print("登陆成功") print("登陆成功")
break break
if username != name: elif username != name:
print("账号输入错误") print("账号输入错误")
continue elif userpassword != password:
if userpassword != password:
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