I know this is a very basic question, but I am not able to write the correct code for this. Let\'s say I have 3 arrays:
arr1 = [1,2,3,4] arr2 = [5,6,7,8] arr3