Commit c402327c by BellCodeEditor

save project

parent 4aefdfa4
Showing with 16 additions and 10 deletions
i = 5
username = "LuoXu20081102"
userpassword ="123456"
while True:
name = input("账号:")
password = input("密码:")
if username == name and userpassword == password:
print("登录成功")
break
if username != name:
print("没你这个账号")
continue
if userpassword != password:
print("密码不对")
if i>0:
name = input("账号:")
password = input("密码:")
if username == name and userpassword == password:
print("登录成功")
break
if username != name:
print("没你这个账号")
continue
if userpassword != password:
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