From 72c11a1b44d92e8441b177ebed734c039586cf4e Mon Sep 17 00:00:00 2001 From: bt3gl <138340846+bt3gl-google@users.noreply.github.com> Date: Sun, 30 Jul 2023 15:56:00 -0700 Subject: [PATCH] Update matrix-sum-diagonals.py --- arrays_and_strings/matrix-sum-diagonals.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arrays_and_strings/matrix-sum-diagonals.py b/arrays_and_strings/matrix-sum-diagonals.py index 6999fa4..8d7f489 100644 --- a/arrays_and_strings/matrix-sum-diagonals.py +++ b/arrays_and_strings/matrix-sum-diagonals.py @@ -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