Commit cdef6643 by BellCodeEditor

save project

parent 473e38a5
Showing with 13 additions and 3 deletions
i=3
username="泽塔奥特曼" username="泽塔奥特曼"
userpassword="泽塔奥特曼泽塔奥特曼" userpassword="泽塔奥特曼泽塔奥特曼"
while True: while True:
if i>0:
a=input("请输入账号") a=input("请输入账号")
bb=input("请输入解锁密码") bb=input("请输入解锁密码")
i-=1
if username == a and userpassword == bb : if username == a and userpassword == bb :
print("欢迎来到贝尔编程") print("yes")
break break
if a!=username:
print("no,请重新输入账号")
continue
if bb!=userpassword:
print("请输入账号")
else: else:
print("登录失败") print("输入次数超过限制")
\ No newline at end of file exit()
print("欢迎来到贝尔编程")
\ No newline at end of file
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