Commit 76d920d1 by BellCodeEditor

save project

parent cc0054de
Showing with 2 additions and 2 deletions
...@@ -12,12 +12,12 @@ while True: ...@@ -12,12 +12,12 @@ while True:
if name != username: if name != username:
print("账户错误") print("账户错误")
continue print("您还有"+str(i)+"次机会")
elif password != userpassword: elif password != userpassword:
print("密码错误") print("密码错误")
else: else:
print("登入成功") print("登入成功")
break 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