Commit 59590cc8 by BellCodeEditor

save project

parent 759715d8
Showing with 4 additions and 5 deletions
...@@ -6,11 +6,10 @@ while True: ...@@ -6,11 +6,10 @@ while True:
if a== username and s==userpassword: if a== username and s==userpassword:
print("登陆成功") print("登陆成功")
break break
if a!=username: elif a!=username:
print("账号错误") print("账号错误")
continue else :
if s!=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