summaryrefslogtreecommitdiff
path: root/progs/a375.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a375.py')
-rw-r--r--progs/a375.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a375.py b/progs/a375.py
new file mode 100644
index 0000000..0323fd4
--- /dev/null
+++ b/progs/a375.py
@@ -0,0 +1,3 @@
+def sort_matrix(M):
+ result = sorted(M, key=sum)
+ return result \ No newline at end of file