Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created January 19, 2021 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IndhumathyChelliah/62b0551e119bfac8c8912d77eaaf590a to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/62b0551e119bfac8c8912d77eaaf590a to your computer and use it in GitHub Desktop.
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