Commit 64457187 by BellCodeEditor

auto save

parent b5c4b3de
Showing with 2 additions and 1 deletions
...@@ -12,10 +12,11 @@ while True: ...@@ -12,10 +12,11 @@ while True:
print("用户名和密码错误!请重新输入") print("用户名和密码错误!请重新输入")
if name!=username: if name!=username:
print("用户名输入错误!") print("用户名输入错误!")
print("温馨提示:你还有"+str(i)+"次机会")
continue continue
if name!=userpassword: if name!=userpassword:
print("密码输入错误") print("密码输入错误")
print("温馨提示,你还有"+str(i)+"次机会") 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