Commit 182f4b3d by BellCodeEditor

save project

parent 84c03bcf
Showing with 4 additions and 1 deletions
...@@ -7,5 +7,8 @@ while True: ...@@ -7,5 +7,8 @@ while True:
print("登录成功") print("登录成功")
break break
else: else:
print("登录失败,请重新登录!") if name!=username:
print("用户名不存在,请重新登录。")
if password!=userpassword:
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