# Write a NumPy program to create random vector of size 15 and replace the maximum value by -1.  import numpy as np
x = np.random.random(15)
print("Original array:")
print(x)
x[x.argmax()] = -1
print("Maximum value replaced by -1:")
print(x)
