NumPy > Multiplication of arrays

Name
Code
Output
array1 = numpy.random.randint(10, size=(2, 3))
print ("array1 \n",array1,)
array2 = numpy.random.randint(10, size=(2, 3))
print ("array2 \n",array2)
result1 = array1 * array2
print ("multiplication result method 1 \n",result1)
result2 = numpy.multiply(array1,array2)
print ("multiplication result method 2 \n",result2)
array1 
 [[7 6 8]
 [9 1 6]]
array2 
 [[2 7 8]
 [6 9 4]]
multiplication result method 1 
 [[14 42 64]
 [54  9 24]]
multiplication result method 2 
 [[14 42 64]
 [54  9 24]]