Commit c3267818 by BellCodeEditor

save project

parent f3f8b6e5
Showing with 2 additions and 0 deletions
...@@ -18,6 +18,7 @@ while i<=5: ...@@ -18,6 +18,7 @@ while i<=5:
elif b != userpassword: elif b != userpassword:
print("userpassword:error") print("userpassword:error")
i+=1 i+=1
print("可继续输入次数"+str(6-i))
print("密码已锁定") print("密码已锁定")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
\ No newline at end of file
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