Commit 5d074858 by BellCodeEditor

save project

parent c9143bdd
Showing with 3 additions and 0 deletions
...@@ -10,9 +10,11 @@ while True: ...@@ -10,9 +10,11 @@ while True:
break break
if name != username: if name != username:
print("用户名错,重新输入") print("用户名错,重新输入")
print("你有"+str(i)+"次登录机会")
continue continue
if password != userpassword: if password != userpassword:
print("密码错,重新输入") print("密码错,重新输入")
else: else:
print("账号锁定,请代身份证来我司解锁") print("账号锁定,请代身份证来我司解锁")
print("你有"+str(i)+"次登录机会")
exit() exit()
\ 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