Commit 0bb434b2 by BellCodeEditor

save project

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