127 out of 133 users completed this Bite ...
Will you be Pythonista #128 to crack this Bite?
Average Bite difficulty 1-10 rating: 3.5
» You can do it! 😌
Write a function called
friends_teamsthat takes a list of friends, a
int, default=2) and
Return all possible teams. Hint: if order matters (
order_does_matter=True), the number of teams would be greater.
See the tests for more details. Enjoy :)