input: from typing import List
  
  
  def generate_histogram(data: List[int]) -> None:
      """ Generate a histogram using the given data. The bins are set to [0, 20, 40, 60, 80, 100, 120, 140, 160] 
      and the edge color of the bars is black. Labels are added for the x-axis and y-axis, along with a title.
      >>> data = [3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150]
      >>> generate_histogram(data)
      # The histogram is displayed with the title 'Histogram of data', x-axis labeled 'Range of values', 
      # and y-axis labeled 'Number of Occurrences'.
      """
output:     import matplotlib.pyplot as plt
  
      bins = [0, 20, 40, 60, 80, 100, 120, 140, 160]
      plt.hist(data, bins=bins, edgecolor='black')
      plt.xlabel('Range of values')
      plt.ylabel('Number of Occurrences')
      plt.title('Histogram of data')
      plt.show()