Commit 457563dc by BellCodeEditor

save project

parent 3936cfec
Showing with 2 additions and 0 deletions
...@@ -12,8 +12,10 @@ while True: ...@@ -12,8 +12,10 @@ while True:
break break
if name != username: if name != username:
print("用户名错了") print("用户名错了")
print("温馨提示:你还有"+str(i)+"次机会")
elif password != userpassword: elif password != 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