Commit dc142ae7 by BellCodeEditor

save project

parent 6bf6958b
Showing with 464 additions and 3 deletions
...@@ -4,9 +4,470 @@ while True: ...@@ -4,9 +4,470 @@ while True:
name=input("请输入用户名") name=input("请输入用户名")
password=input("输入用户密码") password=input("输入用户密码")
if name==username and password ==userpassword: if name==username and password ==userpassword:
print("登陆成功") print("登陆成功")
break break
print("登陆失败") print("登陆失败")
print(sb)
if name!=userpassword:
print("密码输入有误,请重新输入")
continue
if password != userpassword:
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