code: def humanize_class(my_classes):
      
      min_value = 0
      if min_value - my_classes[0] == 0:
          if len(my_classes) == 1:
              return [('0', '0')]
          else:
              return humanize_class(my_classes[1:])
      humanize_classes = []
      interval = my_classes[-1] - my_classes[-2]
      for max_value in my_classes:
          humanize_classes.append(
              humanize_min_max(min_value, max_value, interval))
          min_value = max_value
          try:
              if humanize_classes[-1][0] == humanize_classes[-1][-1]:
                  return unhumanize_class(my_classes)
          except IndexError:
              continue
      return humanize_classes
docs: Return humanize interval of an array.
  
      For example::
  
          Original Array:                     Result:
          1.1  -  5754.1                      0  -  1
          5754.1  -  11507.1                  1  -  5,754
                                              5,754  -  11,507
  
          Original Array:                     Result:
          0.1  -  0.5                         0  -  0.1
          0.5  -  0.9                         0.1  -  0.5
                                              0.5  -  0.9
  
          Original Array:                     Result:
          7.1  -  7.5                         0  -  7.1
          7.5  -  7.9                         7.1  -  7.5
                                              7.5  -  7.9
  
          Original Array:                     Result:
          6.1  -  7.2                         0  -  6
          7.2  -  8.3                         6  -  7
          8.3  -  9.4                         7  -  8
                                              8  -  9