comefrom: <doocs>0068.Text Justification_1.py
code: def partition(n, cnt):
      res = []
      base, mod = divmod(n, cnt)
      i = j = 0
      while i < cnt:
          t = [' ' * base]
          if j < mod:
              t.append(' ')
          res.append(''.join(t))
          i, j = i + 1, j + 1
      return res
masked: def sample_funcname ( var_0 , var_1 ) :
      var_2 = [ ]
      var_4 , var_5 = divmod ( var_0 , var_1 )
      var_8 = var_6 = 0
      while var_8 < var_1 :
          var_10 = [ '' * var_4 ]
          if var_6 < var_5 :
              var_10.append ( '' )
          var_2.append ( ''.join ( var_10 ) )
          var_8 , var_6 = var_8 + 1 , var_6 + 1
      return var_2
  