Concatenate

  • + 0 comments

    import numpy as np n,m,p = input().split() arr1 = [] arr2 = [] for i in range(int(n)): narr = list(map(int, input().split())) arr1.append(narr) for j in range(int(m)): marr = list(map(int, input().split())) arr2.append(marr)

    arr1 = np.array(arr1) arr2 = np.array(arr2) print(np.concatenate((arr1, arr2)))