Commit 705343ee by BellCodeEditor

auto save

parent 8723af7e
Showing with 22 additions and 5 deletions
X="QAQ" X="QAQ"
Z=3
Y="555555" Y="555555"
xxx=input("输入帐号:") while True:
yyy=input("输入密码:") if Z>0:
if X==xxx and Y==yyy: xxx=input("输入帐号:")
print("登录成功!") Z=Z-1
\ No newline at end of file if xxx!=X:
print("用户名错误 \n\n\n")
input("还有"+str(Z)+"次")
continue
yyy=input("输入密码:")
if yyy!=Y:
print("密码输入错误 \n\n\n")
input("还有"+str(Z)+"次")
continue
if X==xxx and Y==yyy:
print("登录成功!")
break
else:
input("次数用尽")
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