Skip to content

Commit

Permalink
Create main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JawadSher authored Aug 30, 2024
1 parent 77f2ade commit 3cd5afe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 16 - NumPy Problems/13 - Inner and Outer/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import numpy as np

arr_A = np.array(input().split(), int)
arr_B = np.array(input().split(), int)

print(np.inner(arr_A, arr_B))
print(np.outer(arr_A, arr_B))

0 comments on commit 3cd5afe

Please sign in to comment.