Commit 7eafce30 by BellCodeEditor

save project

parent 5bb0c74d
Showing with 6 additions and 9 deletions
...@@ -8,15 +8,12 @@ while True: ...@@ -8,15 +8,12 @@ while True:
if n1 == n and p1 == p: if n1 == n and p1 == p:
print("主人,欢迎登陆进来!") print("主人,欢迎登陆进来!")
break break
else: elif n1 == n and p1 != p:
if n1 != n : pass
print("您的账号错误,请重输!") elif n1 != n and p1 == p:
continue print("您的账号错误,请重输!")
if p1 != p : elif n1 != n and p1 != p:
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