Inner and Outer

  • + 0 comments

    import numpy arr_A = list(map(int, input().strip().split())) arr_B = list(map(int, input().strip().split())) print(numpy.inner(arr_A, arr_B)) print(numpy.outer(arr_A, arr_B))