A city may, if it has funds available from other sources, pay part of the cost of an improvement and raise the rest by the methods provided in this chapter. The city may also accept gifts to be used to pay for an improvement.