Update matrix-sum-diagonals.py

This commit is contained in:
bt3gl 2023-07-30 15:56:00 -07:00 committed by GitHub
parent f374afd0c7
commit 72c11a1b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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