Commit c402327c by BellCodeEditor

save project

parent 4aefdfa4
Showing with 6 additions and 0 deletions
i = 5
username = "LuoXu20081102" username = "LuoXu20081102"
userpassword ="123456" userpassword ="123456"
while True: while True:
if i>0:
name = input("账号:") name = input("账号:")
password = input("密码:") password = input("密码:")
if username == name and userpassword == password: if username == name and userpassword == password:
...@@ -11,4 +13,7 @@ while True: ...@@ -11,4 +13,7 @@ while True:
continue continue
if userpassword != password: if userpassword != password:
print("密码不对") 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