Commit 42fde9f8 by BellCodeEditor

save project

parent 6bca78b0
Showing with 5 additions and 3 deletions
...@@ -21,12 +21,14 @@ while True: ...@@ -21,12 +21,14 @@ while True:
break break
if username != name: if username != name:
print("温馨提示你还有"1"的机会" )
print("用户输入错误,请重新输入:") print("用户输入错误,请重新输入:")
break
if userpassword != password:
continue continue
print("密码输入错误,请重新输入:") if userpassword != password:
print("密码输入错误,请重新输入:")
print("温馨提示你还有"+str(i)+"的机会")
else: else:
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