Commit d5515ef5 by BellCodeEditor

save project

parent e0b878a5
Showing with 11 additions and 9 deletions
...@@ -3,15 +3,16 @@ un = "python" ...@@ -3,15 +3,16 @@ un = "python"
pwd = "123456" pwd = "123456"
while True: while True:
if i>0: if i>0:
name = input("name") name = input("name")
upwd = input("pwd") upwd = input("pwd")
i-=1 i-=1
if name == un and pwd == upwd: if name == un and pwd == upwd:
print("ok") print("ok")
if name != un: break
print("not name") if name != un:
elif pwd != upwd: print("not name")
print("not pwd") elif pwd != upwd:
print("not pwd")
else: else:
print("你的账号已被锁定,请到我司解锁") print("你的账号已被锁定,请到我司解锁")
print("登录成功") print("登录成功")
\ No newline at end of file
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