mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update matrix-sum-diagonals.py
This commit is contained in:
parent
f374afd0c7
commit
72c11a1b44
@ -1,5 +1,9 @@
|
||||
#!/bin/python3
|
||||
# Given a square matrix, calculate the absolute difference between the sums of its diagonals.
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
# Given a square matrix, calculate the absolute difference
|
||||
# between the sums of its diagonals.
|
||||
|
||||
import math
|
||||
import os
|
||||
|
Loading…
x
Reference in New Issue
Block a user