summaryrefslogtreecommitdiff
path: root/progs/a444.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a444.py')
-rw-r--r--progs/a444.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a444.py b/progs/a444.py
new file mode 100644
index 0000000..0e6873c
--- /dev/null
+++ b/progs/a444.py
@@ -0,0 +1,5 @@
+def zip_tuples(test_tup1, test_tup2):
+ res = []
+ for i, j in enumerate(test_tup1):
+ res.append((j, test_tup2[i % len(test_tup2)]))
+ return (res) \ No newline at end of file