HackerRank- Python Concatenate



Print the concatenated array



  1. import numpy as np
  2. a, b, c = map(int,input().split())
  3. arr1 = np.array([input().split() for _ in range(a)],int)
  4. arr2 = np.array([input().split() for _ in range(b)],int)
  5. print(np.concatenate((arr1, arr2), axis = 0))

download android app