Commit 212ef0d6 by BellCodeEditor

save project

parent 069f500b
Showing with 2 additions and 0 deletions
...@@ -11,8 +11,10 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码) ...@@ -11,8 +11,10 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码)
break break
elif name != username: elif name != username:
print("用户名错误,请重新登录!") print("用户名错误,请重新登录!")
print("温馨提士:您还有"+str(i)+"次机会)
else: else:
print("密码错误,请重新登录!") print("密码错误,请重新登录!")
print("温馨提士:您还有"+str(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