Commit b10687f3 by BellCodeEditor

save project

parent 9aac4595
Showing with 6 additions and 0 deletions
......@@ -3,16 +3,22 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
# 请用input()实现输入账号、密码的功能
while True:7n
if i>0:
name =input("请输入账号:")
password= input("请输入密码:")
i-=1
if name==username and password==userpassword:
print("登陆成功")
break
if name!=username:
print("用户民错误")
continue
if password!=userpassword:
print("用户密码错误")
elif :
print("")
exit()
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