Commit 3e664766 by BellCodeEditor

save project

parent 89a4428f
Showing with 16 additions and 0 deletions
a='a'
s='1'
i=3
while True:
if i>0:
z=input("请输入姓名:")
x=input("请输入密码:")
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