The city council may assess, levy, and collect an ad valorem tax on all real and personal property within the corporate limits of the city that is subject to such taxation by the state and county. The purpose of such tax shall be to raise revenues to defray the costs of operating the city government or of providing governmental services, for the repayment of principal and interest on general obligations, and for any other public purpose as determined by the city council in its discretion.