kyu_4.range_extraction package

Submodules

kyu_4.range_extraction.solution module

Solution for -> Range Extraction.

Created by Egor Kostan. GitHub: https://github.com/ikostan

kyu_4.range_extraction.solution.case_2(**kwargs) str[source]

Case #2.

Returns:

str

kyu_4.range_extraction.solution.case_3(a: int, current: list, result: str) str[source]

Case #3.

Parameters:
  • a – int

  • current – list

  • result – str

Returns:

str

kyu_4.range_extraction.solution.solution(args: list) str[source]

Solution for Range Extraction problem.

Tt takes a list of integers in increasing order and returns a correctly formatted string in the range format. :param args: list :return: str

kyu_4.range_extraction.test_solution module

Test for -> Range Extraction.

Created by Egor Kostan. GitHub: https://github.com/ikostan

class kyu_4.range_extraction.test_solution.SolutionTestCase(methodName='runTest')[source]

Bases: TestCase

Testing solution for Range Extraction problem.

_classSetupFailed = False
_class_cleanups = []
test_solution()[source]

Testing solution function.

Returns:

Module contents

Range Extraction package.