Commit ae597756 by BellCodeEditor

save project

parent 4765894f
Showing with 17 additions and 8 deletions
username="python" username="python"
userpassword="123456" userpassword="123456"
i=3
while True: while True:
name=input("enter your name:") if i>0:
password=input("enter your password:") name=input("enter your name:")
if name==username and password==userpassword: password=input("enter your password:")
print("welcome") if name==username and password==userpassword:
break print("welcome")
if name!=username: break
print("name error") if name!=username:
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