Commit 7cdd3a8b by BellCodeEditor

auto save

parent f8c98c22
Showing with 14 additions and 0 deletions
username = "sb"
userpassword = "54188"
while True:
name=input("请输入用户名:")
password=input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
elif name !=username:
print("密码不正确,滚吧!")
continue
else:
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