Commit 08b3c710 by BellCodeEditor

save project

parent 238dd2f0
Showing with 5 additions and 4 deletions
username = "python"
userpassword = "123456"
while True:
name=input("请输入账号")
name=input("请输入用户名")
password = input("请输入密码")
if(username == name and userpassword == password):
print("登录成功")
break
if(username !=name ):
if username !=name :
print("账号输入错误")
if(userpassword != password):
print("账号密码有误,请重新输入")
continue
if userpassword != password :
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