Commit 175766ef by BellCodeEditor

save project

parent 04ca4baa
Showing with 12 additions and 11 deletions
...@@ -5,13 +5,15 @@ userpassword = "3141592653589732384" ...@@ -5,13 +5,15 @@ userpassword = "3141592653589732384"
while True: while True:
S = input("输入账号") S = input("输入账号")
B = input("输入密码") if S == username:
if S == username and B == userpassword: B = input("输入密码")
print("bingou") if B == userpassword:
break print("ok")
# else: break
# print("che shuo") else:
if S != username: print("密码戳了")
print("账号戳了") continue
if B != userpassword: else:
print("密码戳了") print("账号戳了")
\ No newline at end of file continue
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