Commit 93c5e27e by BellCodeEditor

save project

parent 66350eb6
Showing with 11 additions and 7 deletions
username = "SB" # 保存在服务器数据库中的用户账号(正确的账号) username = "shengaks1" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "1145" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "hcx13453952800" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入账号") name=input("请输入账号")
pessword=input("请输入密码") pessword=input("请输入密码")
if name==username and userpassword==pessword: while True:
input("登陆成功") if name==username and userpassword==pessword:
else: print("登陆成功")
break
else:
break
if name != username: if name != username:
input("L") print("名字错误憨憨")
else: else:
input("L") print("密码错误没母 ")
# 请用input()实现用户输入账号、密码的功能 # 请用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