Commit bb251d78 by BellCodeEditor

save project

parent 3fa6e33c
Showing with 15 additions and 13 deletions
...@@ -2,19 +2,21 @@ i=3 ...@@ -2,19 +2,21 @@ i=3
username="python" username="python"
userpassword="123567" userpassword="123567"
while True: while True:
if i>0: if i>0:
name=input("名字") name=input("名字")
continue continue
password=input("密码") password=input("密码")
if name==username and password==userpassword i=i-1
print("成功") if name==username and password==userpassword
break print("成功")
break
if name!= username if name!= username
print("错") print("错")
if username!=password: if username!=password:
print("错") print("错")
print("fenfen") else:
exet print("账号锁定")
exit
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