from numpy import array,dot

a = array([1,2,3,4],int)

b = array([2,4,6,8],int)

print(a*b)

print(dot(a,b))