Commit fd90f5c5 by BellCodeEditor

save project

parent 64457187
Showing with 1 additions and 2 deletions
...@@ -12,11 +12,10 @@ while True: ...@@ -12,11 +12,10 @@ 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)+"次机会")
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