Commit eb3d5a96 by BellCodeEditor

save project

parent e706e0f2
Showing with 7 additions and 5 deletions
username = "wang820808" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "z0914w0808" # 保存在服务器数据库中的用户密码(正确的密码
userpassword = "z0914w0808" # 保存在服务器数据库中的用户密码(正确的)
while True:
name=input("账号:")
password=input("密码:")
if name == username and password ==userpassword:
print("正确正确")
break
if userpassword
else :
print("错误")
if password != userpassword:
print("错误,密码")
if name != username:
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