There is an integer matrix. It is necessary to define a column with the minimum product of elements. My code is:
import random n=int(input('Введите кол-во строк матрицы: ')) m=int(input('Введите кол-во столбцов матрицы: ')) matrix=[[random.randrange(10) for i in range(n)] for j in range(m)] for elem in matrix: print(elem) But how to subtract the product of the elements of the matrix and compare with the subsequent columns? help me please