Commit 977c63a1 by BellCodeEditor

save project

parent d5515ef5
Showing with 3 additions and 0 deletions
...@@ -6,6 +6,7 @@ while True: ...@@ -6,6 +6,7 @@ while True:
name = input("name") name = input("name")
upwd = input("pwd") upwd = input("pwd")
i-=1 i-=1
print("温馨提示,你还有"+str(i)+"机会")
if name == un and pwd == upwd: if name == un and pwd == upwd:
print("ok") print("ok")
break break
...@@ -15,4 +16,5 @@ while True: ...@@ -15,4 +16,5 @@ while True:
print("not pwd") print("not pwd")
else: else:
print("你的账号已被锁定,请到我司解锁") print("你的账号已被锁定,请到我司解锁")
exit()
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