I am having difficulties trying to generate a specific pattern that would work for any square matrix with any square dimension using NumPy
For example:
Us