input: 
  from typing import List
  
  def generate_histogram(data: List[int]) -> None:
      """Generate a histogram of the given data.
      >>> generate_histogram([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150])
      (A histogram will be displayed with the following bins: [0, 20, 40, 60, 80, 100, 120, 140, 160])
      """
  
output:     bins = [0, 20, 40, 60, 80, 100, 120, 140, 160]
      histogram = [0] * (len(bins) - 1)
      
      for value in data:
          for i in range(len(bins) - 1):
              if bins[i] <= value < bins[i + 1]:
                  histogram[i] += 1
                  break
      
      for i in range(len(histogram)):
          print(f"[{bins[i]}-{bins[i + 1]}): {'*' * histogram[i]}")