Commit aa2da42d by BellCodeEditor

save project

parent 91f31d4a
Showing with 16 additions and 16 deletions
...@@ -2,20 +2,19 @@ i=3 ...@@ -2,20 +2,19 @@ i=3
username="sb" username="sb"
userpassword="123456" userpassword="123456"
while True: while True:
name=input("输账号:") if i>0:
password=input("输密码:") name=input("输账号:")
i=i-1 password=input("输密码:")
if name==username and password==userpassword: i=i-1
print("登录成功") if name==username and password==userpassword:
break print("登录成功")
if name != username: break
print("furk you") if name != username:
continue print("furk you")
if password != userpassword: continue
print("furk you") if password != userpassword:
print("furk you")
else: else:
print("哈,你没了")
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