Commit 432eae49 by BellCodeEditor

save project

parent 66793dc8
Showing with 7 additions and 0 deletions
i=3
a="123"
b="1234"
while True:
if i>0:
c=input("请输入")
d=input("请输入")
i=i-1
if a == c and b == d:
print("成功")
break
......@@ -11,5 +14,8 @@ while True:
continue
if b!=d:
print("密码错误")
else:
print("被锁定")
exit()
print("登录失败")
\ 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