Commit ae597756 by BellCodeEditor

save project

parent 4765894f
Showing with 10 additions and 1 deletions
username="python" username="python"
userpassword="123456" userpassword="123456"
i=3
while True: while True:
if i>0:
name=input("enter your name:") name=input("enter your name:")
password=input("enter your password:") password=input("enter your password:")
if name==username and password==userpassword: if name==username and password==userpassword:
...@@ -9,6 +10,13 @@ while True: ...@@ -9,6 +10,13 @@ while True:
break break
if name!=username: if name!=username:
print("name error") print("name error")
i-=1
continue
if password!=userpassword: if password!=userpassword:
print("password error") print("password error")
i-=1
else:
for a in range(5):
print("傻逼,滚!!!")
exit()
\ 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