Commit 3e664766 by BellCodeEditor

save project

parent 89a4428f
Showing with 20 additions and 4 deletions
a='a' a='a'
s='1' s='1'
i=3
while True: while True:
z=input("请输入姓名:") if i>0:
x=input("请输入密码:") z=input("请输入姓名:")
if z==a and s==x: x=input("请输入密码:")
print("登录成功") i-=1
if z==a and s==x:
print("登录成功")
break
if a!=z:
print("姓名错误")
print("还有"+str(i)+"次机会")
continue
if s!=x:
print("密码错误")
print("还有"+str(i)+"次机会")
else:
print("账号已锁定")
exit()
print("耗子是SB")
\ 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