Commit aa69b832 by BellCodeEditor

auto save

parent b810c294
Showing with 26 additions and 0 deletions
name="python"
password="12345"
times=3
while True:
times=times-1
if times < 0:
print("登陆次数已经超过3次")
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