Commit 06612eaf by BellCodeEditor

save project

parent 55a506c8
Showing with 6 additions and 4 deletions
......@@ -2,7 +2,9 @@ username = "LuoXu20081102"
userpassword ="123456"
name = input("账号:")
password = input("密码:")
if username == name and userpassword == password:
while True:
if username == name and userpassword == password:
print("登录成功")
else:
print("登录失败")
\ No newline at end of file
break
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