summaryrefslogtreecommitdiff
path: root/progs/a320.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a320.py')
-rw-r--r--progs/a320.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a320.py b/progs/a320.py
new file mode 100644
index 0000000..b89f995
--- /dev/null
+++ b/progs/a320.py
@@ -0,0 +1,3 @@
+def chunk_tuples(test_tup, N):
+ res = [test_tup[i : i + N] for i in range(0, len(test_tup), N)]
+ return (res) \ No newline at end of file