kyu_8.enumerable_magic_25 package

Submodules

kyu_8.enumerable_magic_25.take module

kyu_8.enumerable_magic_25.take.take(arr: list, n: int) → list[source]

Accepts a list/array and a number n, and returns a list/array array of the first n elements from the list/array.

Parameters
  • arr

  • n

Returns

kyu_8.enumerable_magic_25.test_take module

class kyu_8.enumerable_magic_25.test_take.TakeTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing take function

test_take()[source]

Module contents