All locomotive engines run or operated, or caused to be run or operated, on or across any public street or highway within the city, between sundown and sunup, by any person shall be equipped with a headlight so that the same shall throw the light forward in the direction the engine may be moving, and the headlight shall be kept burning from sundown to sunup.
(1964 Code, § 31-15)