Commit 17a1876f by BellCodeEditor

auto save

parent 9c02fe3c
Showing with 6 additions and 2 deletions
......@@ -6,4 +6,8 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码)
if name == username and name == userpassword:
print("登录成功")
break
print("输入有误")
\ No newline at end of file
if name !=username:
print("账号有误")
if password !=userpassword:
print("密码有误")
print("欢迎")
\ No newline at end of file
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