Commit d8abad77 by BellCodeEditor

save project

parent 3708e5c6
Showing with 12 additions and 9 deletions
usename = "奥迪"
userpassword = "123444"
name = input("请输入用户名:")
ward = input("请输入密码")
while True:
while True:
name = input("请输入用户名:")
ward = input("请输入密码")
if usename == name and userpassword == ward:
print("登录成功,欢迎来到贝尔编程")
break
if usename != name:
print("你输入的用户名有误")
if usename != ward:
print("你输入的密码有误")
if usename == name and userpassword == ward:
print("登录成功,欢迎来到贝尔编程")
break
else:
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