if inputName == name and inputKey == key: print("通过验证!") elif inputName != name: print("无此用户!") else: print("密码错误!")