input: 
  def generate_histogram(data):
      """ Generate a histogram using the provided data. The histogram will have bins 
      set to [0, 20, 40, 60, 80, 100, 120, 140, 160]. The histogram should display 
      the number of occurrences of each range of values.
      >>> generate_histogram([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150])
      # Displays a histogram with the specified bins
      """
  
output:     bins = [0, 20, 40, 60, 80, 100, 120, 140, 160]
      histogram = {bin_range: 0 for bin_range in zip(bins[:-1], bins[1:])}
      
      for value in data:
          for bin_range in histogram:
              if bin_range[0] <= value < bin_range[1]:
                  histogram[bin_range] += 1
                  break
      
      for bin_range, count in histogram.items():
          print(f"{bin_range[0]}-{bin_range[1]}: {'*' * count}")