Commit 0557b62e by BellCodeEditor

save project

parent 52681bad
Showing with 2 additions and 0 deletions
...@@ -13,9 +13,11 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码) ...@@ -13,9 +13,11 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码)
while True: while True:
if username != name: if username != name:
print("用户名错了,请重新输入!") print("用户名错了,请重新输入!")
print(温馨提示:您还有+(sti(i))+次登录机会)
break break
if userpassword != password: if userpassword != password:
print("密码错了,请重新输入!") print("密码错了,请重新输入!")
print(温馨提示:您还有+(sti(i))+次登录机会)
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