Sort by

recency

|

1281 Discussions

|

  • + 0 comments

    www.locksandhandles.co.uk offers a wide range of high-quality locks, handles, and security solutions for homes and businesses. Their products combine durability, style, and reliability, ensuring peace of mind for every installation. Easy to browse and order online, the website provides detailed descriptions and expert advice for selecting the right hardware. For a touch of fun and mental exercise, Forming a Magic Square challenges the mind while complementing a secure and organized environment.

  • + 1 comment

    Mortice locks provide robust security for doors, combining durability with smooth operation. Ideal for both residential and commercial properties, they are designed to resist tampering and ensure reliable locking. With precise craftsmanship, these locks fit neatly into door edges, offering a clean and professional finish. Installation is straightforward for locksmiths and DIY enthusiasts alike. Enhancing your security setup can be as methodical as forming a magic square, requiring careful planning and alignment for optimal protection.

  • + 0 comments

    Branded merchandise can creatively incorporate themes like Forming a Magic Square to make promotions unique and engaging. By adding puzzle-inspired designs or interactive elements to products, brands can capture attention while delivering value. Such merchandise not only promotes your logo but also sparks curiosity and conversation. Whether it’s apparel, stationery, or giveaways, blending intellectual fun with branding boosts memorability, making it a smart approach for marketing campaigns that stand out.

  • + 1 comment

    Big Brain Question

    def formingMagicSquare(s):
        lu_1 = [[8,1,6], [3,5,7], [4,9,2]]
        lu_2 = [[6,1,8], [7,5,3], [2,9,4]]
        lu_3 = [[4,9,2], [3,5,7], [8,1,6]]
        lu_4 = [[2,9,4], [7,5,3], [6,1,8]]
        lu_5 = [[8,3,4], [1,5,9], [6,7,2]]
        lu_6 = [[4,3,8], [9,5,1], [2,7,6]]
        lu_7 = [[6,7,2], [1,5,9], [8,3,4]]
        lu_8 = [[2,7,6], [9,5,1], [4,3,8]]
        
        var = [
            lu_1, lu_2, lu_3, lu_4, lu_5, lu_6, lu_7, lu_8
        ]
        diff = []
        for v in var:
            temp = 0
            for v_, s_ in zip(v, s):
                for v__, s__ in zip(v_, s_):
                    if v__ != s__:
                        temp += abs(v__ - s__)
            diff.append(temp)
        
        diff = sorted(diff)
        return diff[0]
    
  • + 1 comment

    How do you do this without looking at solutions??? This is big brain question