Hi there!
We can use Ohm's law to solve for the resistance of the lamp.
[tex]V = IR[/tex]
V = Voltage (V)
I = Current (A)
R = Resistance (Ω)
We can rearrange to solve for resistance.
[tex]R = \frac{V}{I}\\[/tex]
Plug in the given values:
[tex]R = \frac{120}{0.5} = \boxed{240 \Omega}[/tex]