Commit 54764f5c by BellCodeEditor

save project

parent 5ce03757
Showing with 2 additions and 0 deletions
......@@ -8,6 +8,7 @@ while True:
if name != username:
print("名称错误,重新输入")
print("温馨提示:您还有"+str(i)+"次登陆机会")
continue
password = input("请输入密码:")
if name == username and password == userpassword:
......@@ -15,6 +16,7 @@ while True:
break
if password != userpassword:
print("密码错误,重新输入")
print("温馨提示:您还有"+str(i)+"次登陆机会")
else:
print("账户锁定")
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