Commit a7405a3d by BellCodeEditor

save project

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