A city of the metropolitan class shall elect a mayor for such term as may be provided by the laws and ordinances of such city.