Commit c95f6381 by BellCodeEditor

save project

parent f0cc5d6b
Showing with 2 additions and 1 deletions
...@@ -4,10 +4,11 @@ while True: ...@@ -4,10 +4,11 @@ while True:
a=input("请输入用户账号") a=input("请输入用户账号")
b=input("请输入密码") b=input("请输入密码")
if username==a and userpassword==b: if username==a and userpassword==b:
print("登陆成功")us print("登陆成功")
break break
if username!=a: if username!=a:
print("用户名错误") print("用户名错误")
continue
if userpassword!=b: if userpassword!=b:
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