summaryrefslogtreecommitdiff
path: root/progs/a870.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a870.py')
-rw-r--r--progs/a870.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a870.py b/progs/a870.py
new file mode 100644
index 0000000..ed9bae7
--- /dev/null
+++ b/progs/a870.py
@@ -0,0 +1,5 @@
+def remove_words(list1, removewords):
+ for word in list(list1):
+ if word in removewords:
+ list1.remove(word)
+ return list1 \ No newline at end of file