# numpy.random.geometric() in Python # import numpy and geometricimport numpy as npimport matplotlib.pyplot as plt  # Using geometric() methodgfg = np.random.geometric(0.65, 1000)  count, bins, ignored = plt.hist(gfg, 40, density = True)plt.show()