Commit d3b80646 by BellCodeEditor

save project

parent 0e0d9a74
Showing with 4 additions and 0 deletions
...@@ -10,9 +10,13 @@ while True: ...@@ -10,9 +10,13 @@ while True:
if name!=username: if name!=username:
print("用户名错误!请重新输入") print("用户名错误!请重新输入")
i-=1 i-=1
i1=str(i)
print("温馨提示:您还有"+i1+"次输入机会")
elif password!=userpassword: elif password!=userpassword:
print("密码错误!请重新输入") print("密码错误!请重新输入")
i-=1 i-=1
i1=str(i)
print("温馨提示:您还有"+i1+"次输入机会")
else: else:
print("账号已被锁定,请携带身份证质至我司办理") print("账号已被锁定,请携带身份证质至我司办理")
exit() exit()
......
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