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