Commit 4aa61e46 by BellCodeEditor

save project

parent 49eca0db
Showing with 3 additions and 1 deletions
......@@ -5,13 +5,15 @@ while True:
if 1>0:
name = input("请输入用户名:")
password = input("请输入密码:")
i -= 1
i=i-1
if name == username and password == userpassword:
print("登录成功!")
elif name != username:
print("账号错误!")
print("有"+str(i)+"次")
else:
print("密码")
else:
print("已锁定")
break
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