0/30Score: 0 of 30
There was an error grading your submission. Details:
all the input array dimensions except for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 4 and the array at index 1 has size 8
What does this mean? I didn’t modify the code! Why did this problem occur ?
I think you’re trying to combine arrays that have mismatched dimensions (one array has 4 rows, and the other has 8 rows, which causes the problem when concatenating along dimension 0). Make sure that the matrices or arrays you’re passing into the function have matching dimensions, and that your code works for all possible cases.
Hope it helps! Feel free to ask if you need further assistance.