Commit 76728774 by BellCodeEditor

save project

parent 4ce966e1
Showing with 23 additions and 0 deletions
name="python"
password="123456"
times=3
while True:
times-=1
if times < 0:
print("登录次数已用完,请到我司解锁")
break
username=input("请输入您的账号:")
userpassword=input("请输入您的密码:")
if username != name:
print("用户名错误")
continue
if userpassword != password:
print("密码错误")
continue
print("登陆成功")
break
\ 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