Commit 6d489521 by BellCodeEditor

save project

parent ca538372
Showing with 11 additions and 3 deletions
i=3
a = "233"
b = "123456"
while True:
if i>0:
x=input("请输入账号:")
y=input("请输入密码:")
if x==a and y==b:
print("密码正确")
break
if x!=a:
i-=1
print("账号错误!!!")
continue
if y!=b:
i-=1
print("密码错误!!!")
if x==a and y==b:
print("密码正确")
break
else:
print("滚!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
exit()
print("233")
\ 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