In cities containing six hundred inhabitants or less, the council members must be elected at large. Except as provided in section 40-08-04.2, in all other cities operating under the council form of government, the council members must be elected by wards.