Commit d75f278a by BellCodeEditor

save project

parent c5d37e5b
Showing with 5 additions and 3 deletions
...@@ -7,10 +7,12 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码 ...@@ -7,10 +7,12 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码
if a==username and b==userpassword : if a==username and b==userpassword :
print("登录成功") print("登录成功")
break break
elif b!=userpassword: if a!=username:
print("密码有误")
else:
print("用户名不存在") print("用户名不存在")
continue
if b!=userpassword:
print("密码有误")
print("欢迎黄某铎登录某国产游戏vip账户") print("欢迎黄某铎登录某国产游戏vip账户")
......
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