code: def space_toolbar(settings_items, empty_space):
      
      counter = 0
      for part in settings_items:
          counter += len(part)
  
      if len(settings_items) == 1:
          spacing = ''
      else:
          spacing = empty_space[
              :int(math.floor((len(empty_space) - counter) / (len(settings_items) - 1)))]
  
      settings = spacing.join(settings_items)
  
      empty_space = empty_space[len(NOTIFICATIONS) + len(settings) + 1:]
      return settings, empty_space
docs: formats the toolbar