diff options
Diffstat (limited to 'progs/a524.py')
-rw-r--r-- | progs/a524.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a524.py b/progs/a524.py new file mode 100644 index 0000000..8b32314 --- /dev/null +++ b/progs/a524.py @@ -0,0 +1,3 @@ +def remove_elements(list1, list2):
+ result = [x for x in list1 if x not in list2]
+ return result
\ No newline at end of file |