Commit 1b59d2f7 by BellCodeEditor

save project

parent b810c294
Showing with 29 additions and 0 deletions
i=3
username = "python"
userpassword = "123456"
while True:
if i>0:
name = input("请输入用户名:")
password = input("请输入密码:")
i-=1
if name == username and password==userpassword
print("登录成功!")
break
if name != username
print("用户名错误!请重新输入")
i-=1
continue
if username=name userpassword=!password:
i-=1
print("str(i)")
if password!=userpassword
print("用户名错误!请重新输入")
i-=1
else:
print("警察来了,你小子完了")
exit()
print("终于进来了")
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