The city may obtain short-term loans and shall repay such loans not later than December 31 of each year, unless otherwise provided by law.