standardize the array, i.e, subtract mean from every element, and divide by standard deviation in python
main.py
import numpy as np
# Create an arrayarr = np.array([1, 2, 3, 4, 5])
# Subtract mean and divide by standard deviationstandardized_arr = (arr - np.mean(arr)) / np.std(arr)
print(standardized_arr)