GH avatar Bite 208. Find the number pairs summing up N

In this Bite you complete find_number_pairs which receives a list of numbers and returns all the pairs that sum up N (default=10). Return this list of tuples from the function.

So in the most basic example if we pass in [2, 3, 5, 4, 6] it returns [(4, 6)] and if we give it [9, 1, 3, 8, 7] it returns [(9, 1), (3, 7)]. The tests check more scenarios (floats, other values of N, negative numbers).

Have fun and keep calm and code in Python

25 out of 25 users completed this Bite.
Will you be Pythonista #26 to crack this Bite?
It takes an average of ~23 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 2.33 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7