Commit 238dd2f0 by BellCodeEditor

save project

parent 6cf79619
Showing with 4 additions and 0 deletions
...@@ -6,5 +6,9 @@ while True: ...@@ -6,5 +6,9 @@ while True:
if(username == name and userpassword == password): if(username == name and userpassword == password):
print("登录成功") print("登录成功")
break break
if(username !=name ):
print("账号输入错误")
if(userpassword != password):
print("账号密码有误,请重新输入") 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