Forming a Magic Square
링크 : www.hackerrank.com/challenges/magic-square-forming/problem Forming a Magic Square | HackerRank Find the minimum cost of converting a 3 by 3 matrix into a magic square. www.hackerrank.com 문제 이해하는데 좀 걸렸다. 잘못 푼걸 알았을때 discussion을 참고했다. def formingMagicSquare(s): magick_squers = [[[8,1,6],[3,5,7],[4,9,2]] ,[[6,1,8],[7,5,3],[2,9,4]] ,[[4,9,2],[3,5,7],[8,1,6]] ,[[2,9,4],[7,5,3],[6,1,8]] ,[[8,3,4],..