input: 
  def generate_histogram(data: list) -> None:
      """Generate a histogram for the given data using matplotlib.pyplot.
      >>> generate_histogram([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150])
      (Plots a histogram with x-axis labeled 'Range of values', y-axis labeled 'Number of Occurrences', and title 'Histogram of data')
      """
  
output:     import matplotlib.pyplot as plt
      plt.hist(data, bins='auto', color='blue', alpha=0.7)
      plt.xlabel('Range of values')
      plt.ylabel('Number of Occurrences')
      plt.title('Histogram of data')
      plt.show()