The council or other governing body of any city to which an electric line may be extended pursuant to sections 455.26 to 455.28 may grant to the city making the extension, the right to use the streets, alleys, and other public grounds of the statutory city for the erection, operation, and maintenance of the line for that purpose, and make contracts and arrangements for lighting the city thereby and the payment therefor.