You are viewing a single comment's thread. Return to all comments →
import numpy as np
n,m,p = map(int,input().split()) ar1 = np.array([input().split() for i in range(n)], int) ar2 = np.array([input().split() for i in range(m)], int)
print(np.concatenate((ar1,ar2), axis=0))
Seems like cookies are disabled on this browser, please enable them to open this website
Concatenate
You are viewing a single comment's thread. Return to all comments →
import numpy as np
n,m,p = map(int,input().split()) ar1 = np.array([input().split() for i in range(n)], int) ar2 = np.array([input().split() for i in range(m)], int)
print(np.concatenate((ar1,ar2), axis=0))