Commit 2c169973 by BellCodeEditor

save project

parent b507e57b
Showing with 3 additions and 2 deletions
...@@ -6,8 +6,9 @@ while True: ...@@ -6,8 +6,9 @@ while True:
if name==username and password==userpassword: if name==username and password==userpassword:
print("登陆成功") print("登陆成功")
break # 保存在服务器数据库中的用户密码(正确的密码) break # 保存在服务器数据库中的用户密码(正确的密码)
if name!=username: if name!= username:
print("撒比,输错了用户名!!!!") print('撒比,输错了用户名!!!!!')
continue
if password!=userpassword: if password!=userpassword:
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