Commit 8e17c2a9 by BellCodeEditor

save project

parent f3f73882
Showing with 5 additions and 6 deletions
username = "zzy555" # 保存在服务器数据库中的输入(正确的账号) username = "zzy555" # 保存在服务器数据库中的输入(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "乌鸦嘴" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("输入正确的账号")# 请用input()实现用户输入账号、密码的功能 name=input("输入正确的账号:")# 请用input()实现用户输入账号、密码的功能
password=input("输入正确的密码") password=input("输入正确的密码:")
if name==username and password == userpassword: if name==username and password == userpassword:
print("登陆成功") print("登陆成功")
else:
# 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