matlab and operator code example Example: matlab .* operator in python import numpy a1 = [0, 0, 0] a2 = [5, 4, 3] numpy.array(a1) * numpy.array(a2)