Commit d2329664 by BellCodeEditor

auto save

parent 5c448845
Showing with 4 additions and 2 deletions
...@@ -5,9 +5,10 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正 ...@@ -5,9 +5,10 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
a = input("请输入账号") a = input("请输入账号")
s = input("请输入密码") s = input("请输入密码")
if a==username: if a==username and s==userpassword:
print("账号正确") print("账号正确")
if s==userpassword: if
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