Commit 4aef2836 by BellCodeEditor

save project

parent 579587af
Showing with 17 additions and 9 deletions
......@@ -3,17 +3,25 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
A=input("请输入账号")
B=input("请输入密码")
if A != username :
print("用户名错误")
A=input("请输入账号")
B=input("请输入密码")
print("用户名不存在,请重新输入")
#A=input("请输入账号")
else:
if B!= userpassword:
print("密码错误输入有误,请重新输入")
else:
B=input("请输入密码")
if A==username and B ==userpaasword:
print(欢迎来到贝尔编辑器)
if B!= userpassword:
print("密码错误")
A=input("请输入账号")
B=input("请输入密码")
if A == username and B == userpassword:
print("欢迎来到贝尔编辑器")
#if A==username and B!= userpassword:
#print("密码错误输入有误,请重新输入")
#B=input("请输入密码")
#if A == username and B == userpassword:
#print("欢迎来到贝尔编辑器")
# 请用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