Commit 27731d4a by BellCodeEditor

save project

parent 220177bb
Showing with 4 additions and 0 deletions
...@@ -12,9 +12,12 @@ while True: ...@@ -12,9 +12,12 @@ while True:
i-=1 i-=1
if name !=username: if name !=username:
print("失败") print("失败")
print("有+str(i)+次")
continue continue
i-=1
if password !=userpassword: if password !=userpassword:
print("错误") print("错误")
print("有+str(i)+次")
else: else:
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