diff options
Diffstat (limited to 'progs/a375.py')
-rw-r--r-- | progs/a375.py | 3 |
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 |