Commit 9aaee08d by BellCodeEditor

save project

parent dd3b49bd
Showing with 15 additions and 13 deletions
......@@ -2,19 +2,20 @@ i=3
username = "python"
userpassword = "111111"
while True:
name = input("111112")
password = input("名字")
i-=1
if name == username and password == userpassword:
print("成功")
break
if name!=username:
continue
print("错误 ")
if password!= userpassword:
print("错误")
print("用户 密码错误")
else
if i>0:
name = input("111112")
password = input("名字")
i-=1
if name == username and password == userpassword:
print("成功")
break
if name!=username:
continue
print("错误 ")
if password!= userpassword:
print("错误")
print("用户 密码错误")
else:
print("已被锁定")
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