Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import numpy as np
a1=np.array([10,20,30])
a2=np.array([1,2,3])
print (a1*a2)
#Output:[10 40 90]
print (np.multiply(a1,a2))
#Output:[10 40 90]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment