kyu_4.permutations package

Submodules

kyu_4.permutations.permutations module

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

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.

kyu_4.permutations.test_permutations module

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

Bases: unittest.case.TestCase

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.

Module contents