Commit 4f0f2257 by BellCodeEditor

save project

parent f1009722
Showing with 7 additions and 3 deletions
...@@ -2,5 +2,9 @@ username = "李索南" # 保存在服务器数据库中的用户账号(正 ...@@ -2,5 +2,9 @@ username = "李索南" # 保存在服务器数据库中的用户账号(正
userpassword = "519823357913315041616" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "519823357913315041616" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入姓名:") name=input("请输入姓名:")
word=input("请输入密码:") word=input("请输入密码:")
if username==name and userpassword==word: while True:
print("登陆成功") if username==name and userpassword==word:
\ No newline at end of file print("登陆成功")
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