Inner and Outer

  • + 0 comments

    import numpy as np

    a = list(map(int, input().split())) b = list(map(int, input().split()))

    print(np.inner(a,b))

    print(np.outer(a,b))