Commit 5088e75a by BellCodeEditor

save project

parent d5ec7579
Showing with 5 additions and 3 deletions
...@@ -8,5 +8,8 @@ while True: ...@@ -8,5 +8,8 @@ while True:
if(username==name and userpassword == password): if(username==name and userpassword == password):
print("登陆成功") print("登陆成功")
break break
print("账号密码有误,请重新输入") if(username != name ):
print("欢迎进入贝尔编程") print("账号有误")
\ No newline at end of file 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