Skip to content

Commit

Permalink
Numpy!
Browse files Browse the repository at this point in the history
  • Loading branch information
snehalmastud authored Feb 23, 2020
1 parent c7c21ad commit 008c324
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Numpy/Inner and Outer/Solution.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import numpy

a = map(int, raw_input().split())
b = map(int, raw_input().split())

print numpy.inner(numpy.array(a), numpy.array(b))
print numpy.outer(numpy.array(a), numpy.array(b))

0 comments on commit 008c324

Please sign in to comment.