Commit 169cadb4 by BellCodeEditor

save project

parent 907b76dc
Showing with 2 additions and 1 deletions
......@@ -3,9 +3,10 @@ userpassword = "1" # 保存在服务器数据库中的用户密码(正确
name = input("账户")
password = input("密码")
while True:
if name == username and password == password:
if name == username and userpassword == password:
print("成功")
break
print("密码错误")
# 请用input()实现用户输入账号、密码的功能
......
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