Commit c4d164a7 by BellCodeEditor

save project

parent 2c8356fe
Showing with 6 additions and 0 deletions
......@@ -6,5 +6,11 @@ while True:
if username == name and userpassword == password:
print("登录成功")
break
elif username != name and userpassword != password:
print ("密码与账号错误,请重新输入")
elif username != name:
print("用户名不存在,请重新输入")
elif userpassword != password:
print("密码错误,请重新输入")
else:
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