diff options
Diffstat (limited to 'progs/a320.py')
-rw-r--r-- | progs/a320.py | 3 |
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 |