summaryrefslogtreecommitdiff
path: root/progs/a438.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a438.py')
-rw-r--r--progs/a438.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a438.py b/progs/a438.py
new file mode 100644
index 0000000..05fe371
--- /dev/null
+++ b/progs/a438.py
@@ -0,0 +1,3 @@
+def find_tuples(test_list, K):
+ res = [sub for sub in test_list if all(ele % K == 0 for ele in sub)]
+ return (str(res)) \ No newline at end of file