Commit ef03d4d1 by BellCodeEditor

save project

parent 6f254afa
Showing with 6 additions and 0 deletions
......@@ -6,8 +6,14 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码
if username==a and userpassword ==b:
print("登录成功")
break
elif username!=a:
print("用户名错误")
elif userpassword!=b:
print("密码错误")
else:
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