Commit 23e42e70 by BellCodeEditor

save project

parent 4aef2836
Showing with 7 additions and 1 deletions
...@@ -3,17 +3,23 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正 ...@@ -3,17 +3,23 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
A=input("请输入账号") A=input("请输入账号")
B=input("请输入密码") B=input("请输入密码")
C=3
if A != username : if A != username :
print("用户名不存在,请重新输入") print("用户名不存在,请重新输入")
#A=input("请输入账号") A=input("请输入账号")
else: else:
if B!= userpassword: if B!= userpassword:
print("密码错误输入有误,请重新输入") print("密码错误输入有误,请重新输入")
C=C-1
A=input("请输入账号")
B=input("请输入密码")
else: else:
B=input("请输入密码") B=input("请输入密码")
if A==username and B ==userpaasword: if A==username and B ==userpaasword:
print(欢迎来到贝尔编辑器) print(欢迎来到贝尔编辑器)
if C==0:
print("你的账户已被锁定,请带身份证来我司解锁")
#if A==username and B!= userpassword: #if A==username and B!= userpassword:
......
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