Concatenate

  • + 0 comments
    import numpy as np
    
    n, m, p = map(int, input().split())
    
    n_arr = np.array([list(map(int, input().split())) for i in range(n)])
    m_arr = np.array([list(map(int, input().split())) for i in range(n, n + m)])
    concatenated_arr = np.concatenate((n_arr, m_arr))
    
    print(concatenated_arr)