Commit 481a59d6 by BellCodeEditor

save project

parent 27d1aaec
Showing with 20 additions and 12 deletions
username = "python"
userpassword = "123456"
username = "options"
userpassword = "onlyatext"
p = 3
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("信息已验证")
break
if name != username:
print("× name ×")
continue
if password != userpassword:
print("× password ×")
if p > 0
name = input("请输入用户名:")
password = input("请输入密码:")
p-=1
if name == username and password == userpassword:
print("信息已验证")
break
if name != username:
print("× name ×")
continue
if password != userpassword:
print("× password ×")
else:
print("检测到输入尝试超过三次")
print("您的所在地已被锁定")
exit()
print("We Co To Be Co")
\ 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