The council or other governing body of any town or city may provide for lighting, sprinkling, and cleaning the streets by contract or otherwise.