Commit 35c40203 by BellCodeEditor

save project

parent 9b1b98ec
Showing with 9 additions and 5 deletions
username = "python" username = "python"
userpassword = "123456"# userpassword = "123456"#
name=input("请输入用户账号:") while True:
password=input("请输入用户密码:") name=input("请输入用户账号:")
if name == username and password == userpassword: password=input("请输入用户密码:")
if name == username and password == userpassword:
print("登陆成功") print("登陆成功")
break break
print("SB,这都输错") if name!=username:
print("SB,账号错了")
if password!=userpassword:
print("SB,密码错了")
print("欢迎来到SB编程") print("欢迎来到SB编程")
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