Inner and Outer

  • [deleted]Challenge Author
    + 0 comments

    For Python3

    from numpy import array, inner, outer
    
    A = array([*map(int, input().split())])
    B = array([*map(int, input().split())])
    
    print(inner(A, B))
    print(outer(A, B))