summaryrefslogtreecommitdiff
path: root/progs/a661.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a661.py')
-rw-r--r--progs/a661.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a661.py b/progs/a661.py
new file mode 100644
index 0000000..124d3f8
--- /dev/null
+++ b/progs/a661.py
@@ -0,0 +1,3 @@
+def intersection_nested_lists(l1, l2):
+ result = [[n for n in lst if n in l1] for lst in l2]
+ return result \ No newline at end of file