Commit 5c14f0dd by BellCodeEditor

save project

parent 5bf6ed5b
Showing with 5 additions and 3 deletions
...@@ -6,10 +6,12 @@ while True: ...@@ -6,10 +6,12 @@ while True:
mima = input("请输入密码") mima = input("请输入密码")
if zhanghao == username and mima == userpassword: if zhanghao == username and mima == userpassword:
print("账号密码输入正确,登录成功") print("账号密码输入正确,登录成功")
print("欢迎来到贝尔编辑器")
break break
else: if zhanghao != username:
print("输入错误,请重新输入") print("用户不存在,请重新输入!")
if mima != userpassword:
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