Browse Source

Create Filter out the Geese.py

PythonCoder8 3 years ago
parent
commit
73ab1be321
1 changed files with 3 additions and 0 deletions
  1. 3 0
      8 kyu/Filter out the Geese/Filter out the Geese.py

+ 3 - 0
8 kyu/Filter out the Geese/Filter out the Geese.py

@@ -0,0 +1,3 @@
+geese = ["African", "Roman Tufted", "Toulouse", "Pilgrim", "Steinbacher"]
+def goose_filter(birds):
+    return [bird for bird in birds if not bird in geese]