(a) Whenever in this Code, or in any ordinance of the city, any act is prohibited or is made or declared to be unlawful or an offense, or whenever in such Code or ordinance the doing of any act is required or the failure to do any act is declared to be unlawful, where no specific penalty is provided therefor, the violation of such provision of this Code or any such ordinance shall be punished by a fine not to exceed one thousand dollars ($1,000.00) or imprisonment in the city jail or such other place as the City Council may, from time to time, designate for not more than 180 days, or by both such fine and imprisonment. Each day any violation of this Code or of any ordinance shall continue shall constitute a separate offense. (b) In addition to the penalties hereinabove provided, any condition caused or permitted to exist in violation of any of the provisions of this Code, or any ordinance, shall be deemed a public nuisance and may be abated by the city as provided by law. Each day that such condition continues shall be regarded as a new and separate offense.