Commit d0ec0dad by BellCodeEditor

save project

parent 0079386b
Showing with 5 additions and 1 deletions
...@@ -8,6 +8,9 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码 ...@@ -8,6 +8,9 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码
print("登录成功") print("登录成功")
break break
print("SB输错了") if name != username:
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