Example #1
0
    def execute(this, arguments, WORKINGMATRIX):
        height = 10
        width = 10
        if len(arguments) == 2:
            height = arguments[0]
            width = arguments[1]

        try:
            MatrixUtils.displayMatrix(WORKINGMATRIX, height, width)
        except ValueError:
            print("ERROR: height and width must be even numbers!")