Commit b2c75570 by BellCodeEditor

save project

parent 4e4e0b1b
Showing with 2 additions and 3 deletions
...@@ -9,9 +9,8 @@ while True: ...@@ -9,9 +9,8 @@ while True:
if name==username and lbl==userpassword: if name==username and lbl==userpassword:
print("已登录") print("已登录")
break break
if name!=username: elif name!=username:
print("没有账号") print("没有账号")
continue else :
if lbl!=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