summaryrefslogtreecommitdiff
path: root/progs/a320.py
blob: b89f995e2bb9f93105f14695564e835d2c4d1aba (plain)
1
2
3
def chunk_tuples(test_tup, N):
  res = [test_tup[i : i + N] for i in range(0, len(test_tup), N)]
  return (res)