Replace the maximum value of array a with 0 and return the result.
a
Input
[1. 5. 3. 9. 2.]
Output
[1. 5. 3. 0. 2.]
This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.
solve(...)