Commit 175766ef by BellCodeEditor

save project

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