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))


Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube