In this **HackerRank Default Arguments problem solution** You are given two integer arrays of size N X P and M X P (N & M are rows, and P is the column). Your task is to concatenate the arrays along axis 0.

## HackerRank Concatenate in python problem solution

import numpy
N, M, P = map(int, input().split(" "))
arr1 = numpy.array([list(map(int, input().rstrip().split(" "))) for i in range(N)])
arr2 = numpy.array([list(map(int, input().rstrip().split(" "))) for i in range(M)])
print(numpy.concatenate((arr1, arr2)))