Commit 99d5df4f by BellCodeEditor

auto save

parent 6f9e8fda
Showing with 20 additions and 0 deletions
usename="x"
usepassword="123456"
i=3
while True:
if 1<0:
name=input("请输入用户名")
password=input("请输入密码")
i-=1
if name==usename and usepassword== usepassword:
print("登陆成功")
break
elif name!=usename:
print("用户名错误,重新输入")
else:
print("密码错误,重新输入")
else:
usename!=usepassword>3
print("你的用户已锁定")
print("欢迎")
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