kyu_4.permutations package

Submodules

kyu_4.permutations.permutations module

Solution for -. Permutations.

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

kyu_4.permutations.permutations.permutations(string: str) list[source]

Permutation function.

creates all permutations of an input string and remove duplicates, if present. This means, you have to shuffle all letters from the input in all possible orders. :param string: str :return: list

kyu_4.permutations.test_permutations module

Solution for -. Permutations.

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

class kyu_4.permutations.test_permutations.PermutationsTestCase(methodName='runTest')[source]

Bases: TestCase

Testing permutations function.

_classSetupFailed = False
_class_cleanups = []
pytestmark = [Mark(name='skip', args=(), kwargs={'reason': 'The solution is not ready'})]
test_permutations()[source]

Testing permutations function.

Test that permutations function creates all permutations of an input string and remove duplicates, if present. This means, you have to shuffle all letters from the input in all possible orders. :return:

Module contents

Permutations package.