def makeRandom(cls, m, n, low=0, high=10):
        """ Make a random matrix with elements in range (low-high) """
        
        obj = Matrix(m, n, init=False)
        for x in range(m):
            obj.rows.append([random.randrange(low, high) for i in range(obj.n)])

        return obj
 Make a random matrix with elements in range (low-high) 
recipes/Python/578131_A_simple_Matrix_class/recipe-578131.py