Commit 86f9a418 by BellCodeEditor

auto save

parent 4ce966e1
Showing with 29 additions and 0 deletions
id = "llllll"
pwd = "123789"
count = 0
while True:
if count >= 3:
break
id2 = input("请输入你的名字:")
pwd2 = input("请输入密码:")
if id == id2 and pwd == pwd2:
print("欢迎来到贝尔编程世界")
break
if id != id2:
print("用户名错误")
count = count + 1
continue
elif pwd != pwd2:
print("密码错误")
count = count + 1
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