Inner and Outer

  • + 0 comments

    import numpy a=list(map(int,input().split())) b=list(map(int,input().split())) arr1=numpy.array(a) arr2=numpy.array(b) print(numpy.inner(a,b)) print(numpy.outer(a,b))