Commit 12cda9de by BellCodeEditor

save project

parent 0b551bc8
Showing with 6 additions and 3 deletions
......@@ -6,7 +6,10 @@ while True:
if i == username and p == userpassword:
print("登陆成功")
break
else:
print("登陆失败")
print("欢迎来到贝尔编程")
if i !=username:
print("用户不存在")
break
if p !=userpassword:
print("密码输入有误")
break
# 如果用户输入的账号、密码正确,提示登陆成功
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