input: 
  def generate_histogram(data: list) -> None:
      """Given a list of data, generate and display a histogram with specified bin ranges.
      >>> generate_histogram([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150])
      
      Output:
      Histogram of data
      x-axis: Range of values
      y-axis: Number of Occurrences
      """
      import matplotlib.pyplot as plt
  
      # Defining the bins for the histogram 
      bins = [0, 20, 40, 60, 80, 100, 120, 140, 160]
  
      # Plotting the histogram 
      plt.hist(data, bins=bins, edgecolor='black') 
    
      # Adding labels to the axes 
      plt.xlabel('Range of values') 
      plt.ylabel('Number of Occurrences') 
      
      # Adding a title to the plot 
      plt.title('Histogram of data') 
    
      # Displaying the plot 
      plt.show()
  
output:     import matplotlib.pyplot as plt
  
      # Defining the bins for the histogram 
      bins = [0, 20, 40, 60, 80, 100, 120, 140, 160]
  
      # Plotting the histogram 
      plt.hist(data, bins=bins, edgecolor='black') 
    
      # Adding labels to the axes 
      plt.xlabel('Range of values') 
      plt.ylabel('Number of Occurrences') 
      
      # Adding a title to the plot 
      plt.title('Histogram of data') 
    
      # Displaying the plot 
      plt.show()