mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-22 16:31:15 -04:00
Update matrix-sum-diagonals.py
This commit is contained in:
parent
f374afd0c7
commit
72c11a1b44
1 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue