Contents:
kyu_6.pyramid_array.pyramid_array.
pyramid
Write a function that when given a number >= 0, returns an Array of ascending length subarrays.
Note: the subarrays should be filled with 1s :param n: :return:
kyu_6.pyramid_array.test_pyramid_array.
PyramidTestCase
Bases: unittest.case.TestCase
unittest.case.TestCase
Testing ‘pyramid’ function
test_pyramid
The ‘pyramid’ function should return an Array of ascending length subarrays.
Note: the subarrays should be filled with 1s. :return: