Implement a function that applies an operation between arrays of different shapes, first by writing it as an explicit loop, then by letting NumPy handle it automatically.
Keywords
numpy-core
Python
Run your code to see results
No results yet
Run your code to check it against the examples, or submit to run every test.