Commit 5e266f50 by BellCodeEditor

save project

parent 3d39ac35
Showing with 3 additions and 8 deletions
...@@ -4,7 +4,7 @@ while True: ...@@ -4,7 +4,7 @@ while True:
name=input("请输入名字:") name=input("请输入名字:")
if name!=username: if name!=username:
print('杰哥,名字不对哦') print('杰哥,名字不对哦')
continue name=input("请输入名字:")
password=input("密码:") password=input("密码:")
if name==username and password==userpassword: if name==username and password==userpassword:
print("杰哥好!") print("杰哥好!")
...@@ -15,9 +15,4 @@ while True: ...@@ -15,9 +15,4 @@ while True:
if password==userpassword: if password==userpassword:
print("杰哥好!") print("杰哥好!")
break break
print("我超勇的") print("我超勇的")
\ No newline at end of file
# 如果用户输入的账号、密码正确,提示登陆成功
\ 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