Commit b264de78 by BellCodeEditor

save project

parent 19ff51ee
Showing with 4 additions and 3 deletions
...@@ -6,10 +6,11 @@ while True: ...@@ -6,10 +6,11 @@ while True:
if name==name1 and zhanghao==zhanghao2: if name==name1 and zhanghao==zhanghao2:
print("登录成功") print("登录成功")
break break
if name1!=name : if name1!=name:
input("账号错误请重新输入") input("账号错误请重新输入")
if zhanghao2!=zhanghao : continue
input("密码错误请重新输入") if zhanghao2!=zhanghao:
input("密码错误请重新输入")
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