Commit f87ff6dc by BellCodeEditor

save project

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