Inner and Outer

  • + 0 comments

    Well Solution

    import numpy
    
    A = numpy.array(list(map(int,input().split())))
    B = numpy.array(list(map(int,input().split())))
    
    print(numpy.inner(A,B))
    print(numpy.outer(A,B))