Commit 69976058 by BellCodeEditor

save project

parent f111e4f6
Showing with 7 additions and 3 deletions
......@@ -3,8 +3,12 @@ userpassword = "123456" # 保存在服务器数据库中的()
username = input("请输入用户账号")
userpassword = input("请输入用户密码")
# 请用input()实现用户输入账号、密码的功能
break
if username == "python" or userpassword == "123456":
pass print("登陆成功,欢迎来到贝尔星球")
pass print("登陆成功")
break
print("欢饮来到贝尔星球")
if name is username:
print("用户名不存在,请重新输入!")
if password is userpassword:
print("密码输入有误,请重新输入!")
# 如果用户输入的账号、密码正确,提示登陆成功
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