code: def most_even(number, group):
      
      count, rest = divmod(number, group)
      counts = zip_longest([count] * group, [1] * rest, fillvalue=0)
      chunks = [sum(one) for one in counts]
      logging.debug('chunks: %s', chunks)
      return chunks
docs: Divide a number into a list of numbers as even as possible.