InterviewSolution
Saved Bookmarks
| 1. |
Write a program to input n x m matrix and find the sum of all numbers |
|
Answer» def summat (a, m, n): s = 0 for i in range (m): for j in range (n): s + = a[i][j] return s |
|