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