2b store 100 random number between 0 to 1009 in array Find the sum,product mean ,standard deviation , minimum ,index of min, index of Max values

import numpy as np
import matplotlib.pyplot as plt
x1 = np.random.randint(1000, size=100) 
print('1D Array\n',x1)    
print('Sum of elements of the array :',sum(x1))
print('Product of elements of the array :',np.product(x1))
print('Mean of elements of the array :',np.mean(x1))
print('Median of elements of the array :',np.median(x1))
print('Standard deviation of elements of the array :',np.std(x1))
print('Minimum of elements of the array :',np.min(x1))
print('Maximum of elements of the array :',np.max(x1))
print('Index Maximum of elements of the array :',np.argmax(x1))
print('Index of Minimum of elements of the array :',np.argmin(x1))
print('25 percentile of elements of the array :',np.percentile(x1,25))
print('50 percentile of elements of the array :',np.percentile(x1,50))
print('75 percentile of elements of the array :',np.percentile(x1,75))
print('Change 1D array to 2D array :\n',x1.reshape(25,4))
plt.hist(x1) 
plt.title("histogram") 
plt.show()