aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-201/joaofel/python/ch-1.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/challenge-201/joaofel/python/ch-1.py b/challenge-201/joaofel/python/ch-1.py
new file mode 100644
index 0000000000..b3dea31a14
--- /dev/null
+++ b/challenge-201/joaofel/python/ch-1.py
@@ -0,0 +1,4 @@
+# Not a full program, but a function
+
+def missing_numbers(nums):
+ return list(filter(lambda i: i not in nums, range(len(nums) + 1)))