We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Numpy
- Inner and Outer
- Discussions
Inner and Outer
Inner and Outer
Sort by
recency
|
225 Discussions
|
Please Login in order to post a comment
For Python3 Platform
import numpy A = list(map(int,input().split())) B = list(map(int,input().split())) A1 = numpy.array(A) A2 = numpy.array(B) print(numpy.inner(A1,A2)) print(numpy.outer(A1,A2))