Concatenate

  • + 0 comments

    import numpy

    n, m, p = map(int, input().split()) n_list = [] m_list = [] for _ in range(n): n_list.append(list(map(int, input().split()))) n_array = numpy.array(n_list)
    for _ in range(m): m_list.append(list(map(int, input().split()))) m_array = numpy.array(m_list) print (numpy.concatenate((n_array, m_array), axis = 0))