code: def _justify(texts, max_len, mode='right'):
      
      if mode == 'left':
          return [x.ljust(max_len) for x in texts]
      elif mode == 'center':
          return [x.center(max_len) for x in texts]
      else:
          return [x.rjust(max_len) for x in texts]
docs: Perform ljust, center, rjust against string or list-like