Commit 9ea41213 by BellCodeEditor

save project

parent 6f31163d
Showing with 6 additions and 4 deletions
...@@ -8,10 +8,11 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码 ...@@ -8,10 +8,11 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码
print("登录成功") print("登录成功")
break break
if name != username: if name == username:
if a != userpassword:
print("SB密码写错了")
else:
print("SB名字写错了") print("SB名字写错了")
if a != userpassword:
print("SB密码写错了")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
print("SB你来了") print("SB你来了")
\ 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