Commit ba0d3caf by BellCodeEditor

auto save

parent 13018869
Showing with 0 additions and 199 deletions
username = "alittle"
userpassword = "1234567890"
while True:
name = input("请输入名字")
password = input("请输入密码")
if name==username and password==userpassword:
print("登陆成功")
break
if name != username:
print("名字输入错误")
if password != userpassword:
print("密码输入错误")
print("登入失败")
print("欢迎来到贝爷编程")
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