# NumPy.histogram() Method in Python # Import librariesimport numpy as np     # Creating dataseta = np.random.randint(100, size =(50))  # Creating histogramnp.histogram(a, bins = [0, 10, 20, 30, 40,                        50, 60, 70, 80, 90,                        100])  hist, bins = np.histogram(a, bins = [0, 10,                                      20, 30,                                     40, 50,                                     60, 70,                                     80, 90,                                     100])   # printing histogramprint()print (hist) print (bins) print()