Commit c5d21213 by BellCodeEditor

save project

parent c43800db
Showing with 0 additions and 2 deletions
...@@ -12,11 +12,9 @@ while True: ...@@ -12,11 +12,9 @@ while True:
break break
if a!=username: if a!=username:
print("用户名错误") print("用户名错误")
print("还有"+str(i)+"次登录机会")
continue continue
if b!=userpassword: if b!=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