Define 1 watt of power. A lamp consumes 1000 J of electrical energy in 10 s. Calculate its power

The power of an agent is said to be one watt if it does one joule of work in one second.
Given
W = 1000 J,
t = 10 s,
P = ?
Using the expression, P = W / t,
we have P = 1000/10 = 100 W