Skip to content

Commit

Permalink
Numpy!
Browse files Browse the repository at this point in the history
  • Loading branch information
snehalmastud authored Feb 23, 2020
1 parent 8ca5a03 commit c162329
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Numpy/Concatenate/Solution.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import numpy

N, M, P = map(int, input().split())

array_1 = numpy.array( [list(map(int, input().split())) for i in range(N)] )
array_2 = numpy.array( [list(map(int, input().split())) for i in range(M)] )

print (numpy.concatenate((array_1, array_2), axis = 0))

0 comments on commit c162329

Please sign in to comment.