Commit fc14d4c0 by BellCodeEditor

save project

parent e9cefbef
Showing with 2 additions and 1 deletions
...@@ -8,8 +8,9 @@ while True: ...@@ -8,8 +8,9 @@ while True:
if name ==username and password == userpassword: if name ==username and password == userpassword:
print("成功") print("成功")
break break
if name != username: elif name != username:
print("名字错") print("名字错")
continue
if password != userpassword: if password != 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