code: def partition(a:Collection, sz:int)->List[Collection]:
      "Split iterables `a` in equal parts of size `sz`"
      return [a[i:i+sz] for i in range(0, len(a), sz)f partition(a:Collection, sz:int)->List[Collection]:
      "Split iterables `a` in equal parts of size `sz`"
      return [a[i:i+sz] for i in range(0, len(a), sz)]
docs: Split iterables `a` in equal parts of size `sz`