Commit 072e8955 by BellCodeEditor

save project

parent 1bf4da97
Showing with 22 additions and 0 deletions
i=3
username = "qwertyuiop"
userpassword = "asdfghjkl"
while True:
if i>0:
b=input("输入名字")
q=input("输入密码")
i-=1
if username == b and userpassword == q:
print("登陆成功")
break
if b != username:
print("名字错误")
elif q != userpassword:
print("密码错误")
else:
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