From 853ccc5d351a98824a70c7f60633bf5fdbe11bcd Mon Sep 17 00:00:00 2001 From: JoaoFelipe3 <109555243+JoaoFelipe3@users.noreply.github.com> Date: Tue, 24 Jan 2023 11:20:25 -0300 Subject: Create ch-1.py --- challenge-201/joaofel/python/ch-1.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 challenge-201/joaofel/python/ch-1.py (limited to 'challenge-201/joaofel/python') 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))) -- cgit