aboutsummaryrefslogtreecommitdiff
path: root/challenge-201/joaofel/python
diff options
context:
space:
mode:
authorJoaoFelipe3 <109555243+JoaoFelipe3@users.noreply.github.com>2023-01-24 11:20:25 -0300
committerGitHub <noreply@github.com>2023-01-24 11:20:25 -0300
commit853ccc5d351a98824a70c7f60633bf5fdbe11bcd (patch)
tree44934cf311fac37cc7b55ff3c83d91208f1721d1 /challenge-201/joaofel/python
parent27b88f614b9bb53872ef0da19a56087505836db0 (diff)
downloadperlweeklychallenge-club-853ccc5d351a98824a70c7f60633bf5fdbe11bcd.tar.gz
perlweeklychallenge-club-853ccc5d351a98824a70c7f60633bf5fdbe11bcd.tar.bz2
perlweeklychallenge-club-853ccc5d351a98824a70c7f60633bf5fdbe11bcd.zip
Create ch-1.py
Diffstat (limited to 'challenge-201/joaofel/python')
-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)))