Commit c402327c by BellCodeEditor

save project

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