Commit 8f325e13 by BellCodeEditor

auto save

parent 8fa922b9
Showing with 2 additions and 8 deletions
...@@ -8,10 +8,5 @@ name = input("请输入你的账号") ...@@ -8,10 +8,5 @@ name = input("请输入你的账号")
pw = input("请输入你的密码") pw = input("请输入你的密码")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
while True: if name =="python" and pw == "123456":
if name == "python" : print("登陆成功")
while True:
if pw == "123456":
break
print('登陆成功')
break
\ 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