Commit e592a01e by BellCodeEditor

save project

parent e032171b
Showing with 3 additions and 1 deletions
...@@ -11,9 +11,11 @@ while True: ...@@ -11,9 +11,11 @@ while True:
break break
if username != name: if username != name:
print("输入用户名错误") print("输入用户名错误")
continue print("您还有"+str(i)+"次机会")
continue
if password != userpassword: if 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