Commit 514fb0aa by BellCodeEditor

save project

parent e6d9019c
Showing with 2 additions and 2 deletions
...@@ -8,14 +8,14 @@ while True: ...@@ -8,14 +8,14 @@ while True:
break break
if name != username: if name != username:
tim -= 1 tim -= 1
print("用户名错误!请重新输入,温馨提示:还有"+str(tim)+"次输入的机会") print("用户名错误!请重新输入,还有"+str(tim)+"次输入的机会")
if tim >= 0: if tim >= 0:
print("您的输入次数已用完,请携带身份证来我司认证") print("您的输入次数已用完,请携带身份证来我司认证")
exit() exit()
continue continue
if password != userpassword: if password != userpassword:
tim-=1 tim-=1
print("密码错误!请重新输入,温馨提示:还有"+str(tim)+"次输入的机会") print("密码错误!请重新输入,还有"+str(tim)+"次输入的机会")
if tim >= 0: if tim >= 0:
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