summaryrefslogtreecommitdiff
path: root/progs/a15.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a15.py')
-rw-r--r--progs/a15.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a15.py b/progs/a15.py
new file mode 100644
index 0000000..238c18f
--- /dev/null
+++ b/progs/a15.py
@@ -0,0 +1,3 @@
+def tuple_modulo(test_tup1, test_tup2):
+ res = tuple(ele1 % ele2 for ele1, ele2 in zip(test_tup1, test_tup2))
+ return (res) \ No newline at end of file