Contents:
kyu_7.sum_of_powers_of_2.sum_of_powers_of_2.
powers
Return an array of numbers (that are a power of 2) for which the input “n” is the sum :param n: :return:
Testing ‘powers’ function
kyu_7.sum_of_powers_of_2.test_sum_of_powers_of_2.
SumOfPowerOfTwoTestCase
Bases: unittest.case.TestCase
unittest.case.TestCase
test_powers
The function powers takes a single parameter, the number n, and should return an array of unique numbers. :return: