IDNLearn.com is the place where your questions are met with thoughtful and precise answers. Our experts provide timely, comprehensive responses to ensure you have the information you need.

write a function that returns the sum of all the elements in a specified column in a matrix using the following header: def sumcolumn(m, columnindex): write a main function that prompts the user to enter a 3-by-4 matrix of numbers, calls the above function, and displays the sum of each column.

Sagot :