Answer:
The heater is not a perpetual motion machine.
Explanation:
A perpetual motion machine is a machine that can run forever without any energy inputs. That is, it delivers the same amount of energy as it uses. Such a machine is almost hypothetical because it is opposite to the second law of thermodynamics.
The heater mentioned in the question is not a perpetual motion machine because it delivers less energy than it requires. It uses 10 kW-h of electricity to produce 9 kW-h of heat according to the question.