Commit 26241aba by BellCodeEditor

save project

parent 41f946b9
Showing with 13 additions and 8 deletions
username = "python" username = "1"
userpassword = "123456" userpassword = "2"
name=input('请输入用户名') while True
password=input('请输入密码') name=input('请输入用户名')
if username==name and userpassword==password: password=input('请输入密码')
print('登陆成功') if username==name and userpassword==password:
print('登陆成功')
\ No newline at end of file break
if name != username:
print('用户名错误,请重新输入用户名')
if password != userpassword:
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