Commit 0bb434b2 by BellCodeEditor

save project

parent bc4e3fb0
Showing with 17 additions and 10 deletions
i=3
z="123456"
m="799720"
while True:
a=input("请输入用户名")
s=input("请输入密码")
if a == z and s == m:
print("成功")
break
if a!=z :
print("用户名不存在,请重新输入")
continue
if s!=m:
print("密码错误,请重新输入")
if i>0:
a=input("请输入用户名")
s=input("请输入密码")
i-=1
if a == z and s == m:
print("成功")
break
if a!=z :
print("用户名不存在,请重新输入")
continue
if s!=m:
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