Commit d88a47f4 by BellCodeEditor

save project

parent 5b108826
Showing with 4 additions and 4 deletions
...@@ -2,8 +2,8 @@ username = "python" # 保存在服务器数据库中的用户账号(正确 ...@@ -2,8 +2,8 @@ username = "python" # 保存在服务器数据库中的用户账号(正确
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
# 请用input()实现输入账号、密码的功能 # 请用input()实现输入账号、密码的功能
i=3
while True:7n while True:
if i>0: if i>0:
name =input("请输入账号:") name =input("请输入账号:")
password= input("请输入密码:") password= input("请输入密码:")
...@@ -17,8 +17,8 @@ while True:7n ...@@ -17,8 +17,8 @@ while True:7n
continue continue
if password!=userpassword: if password!=userpassword:
print("用户密码错误") print("用户密码错误")
elif : else :
print("") print("你的账号以被锁定,请到我司来")
exit() exit()
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